From aef5375990511a2faf348e127ccca954eb6bfe35 Mon Sep 17 00:00:00 2001 From: Steffen Prohaska Date: Sun, 23 Apr 2017 10:21:03 +0200 Subject: [PATCH] docs/custom-transfers: Add empty lines for good Markdown style Signed-off-by: Steffen Prohaska --- docs/custom-transfers.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/custom-transfers.md b/docs/custom-transfers.md index 90c579b0..3669251f 100644 --- a/docs/custom-transfers.md +++ b/docs/custom-transfers.md @@ -79,6 +79,7 @@ request / response metadata. The metadata exchanged is always in JSON format. External files will be referenced when actual content is exchanged. ### Line Delimited JSON + Because multiple JSON messages will be exchanged on the same stream it's useful to delimit them explicitly rather than have the parser find the closing `}` in an arbitrary stream, therefore each JSON structure will be sent and received on @@ -101,6 +102,7 @@ data to the process over stdin. This tells the process useful information about the configuration. The message will look like this: + ```json { "event":"init", "operation":"download", "concurrent": true, "concurrenttransfers": 3 } ```