diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2021-12-29 15:06:57 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2021-12-29 15:06:57 +0100 |
commit | 52754000569383b24e2e7b4644cbaaf2d24b35d9 (patch) | |
tree | d02950f2935b9025eb4386a9b31fdc7dd2d68ec0 | |
parent | 8c4fc016643b627516be58aa99ca8b9b55d631cf (diff) | |
download | lsd0004-52754000569383b24e2e7b4644cbaaf2d24b35d9.tar.gz lsd0004-52754000569383b24e2e7b4644cbaaf2d24b35d9.zip |
put update
-rw-r--r-- | draft-schanzen-r5n.xml | 36 |
1 files changed, 29 insertions, 7 deletions
diff --git a/draft-schanzen-r5n.xml b/draft-schanzen-r5n.xml index 8902057..f7a953f 100644 --- a/draft-schanzen-r5n.xml +++ b/draft-schanzen-r5n.xml | |||
@@ -227,12 +227,12 @@ Connectivity | |Underlay| |Underlay| | |||
227 | The GET procedure is defined as follows: | 227 | The GET procedure is defined as follows: |
228 | </t> | 228 | </t> |
229 | <artwork name="" type="" align="left" alt=""><![CDATA[ | 229 | <artwork name="" type="" align="left" alt=""><![CDATA[ |
230 | GET(Key[, QueryParams]) -> Results as List | 230 | GET(Key[, GetParams]) -> Results as List |
231 | ]]></artwork> | 231 | ]]></artwork> |
232 | <t> | 232 | <t> |
233 | The procedure takes a single additional <tt>QueryParams</tt> | 233 | The procedure takes a single additional <tt>QueryParams</tt> |
234 | argument in order to specify detailed query parameters. | 234 | argument in order to specify detailed query parameters. |
235 | The <tt>QueryParams</tt> consist of the following parameters: | 235 | The <tt>GetParams</tt> consist of the following parameters: |
236 | </t> | 236 | </t> |
237 | <dl> | 237 | <dl> |
238 | <dt>BlockType</dt> | 238 | <dt>BlockType</dt> |
@@ -260,6 +260,9 @@ GET(Key[, QueryParams]) -> Results as List | |||
260 | The default setting of this parameter is empty. | 260 | The default setting of this parameter is empty. |
261 | </dd> | 261 | </dd> |
262 | </dl> | 262 | </dl> |
263 | <t> | ||
264 | The <tt>RouteOptions</tt> consist of the following flags: | ||
265 | </t> | ||
263 | <dl anchor="route_options"> | 266 | <dl anchor="route_options"> |
264 | <dt>DemultiplexEverywhere</dt> | 267 | <dt>DemultiplexEverywhere</dt> |
265 | <dd> | 268 | <dd> |
@@ -290,15 +293,34 @@ GET(Key[, QueryParams]) -> Results as List | |||
290 | The PUT procedure is defined as follows: | 293 | The PUT procedure is defined as follows: |
291 | </t> | 294 | </t> |
292 | <artwork name="" type="" align="left" alt=""><![CDATA[ | 295 | <artwork name="" type="" align="left" alt=""><![CDATA[ |
293 | PUT(Key, Type, Block[, RouteOptions]) | 296 | PUT(Key, Block, BlockType[, PutParams]) |
294 | ]]></artwork> | 297 | ]]></artwork> |
295 | <t> | 298 | <t> |
296 | The procedure takes two mandatory arguments. | 299 | The procedure takes three mandatory arguments. |
297 | The first argument is the query | 300 | The first argument is the query |
298 | key under which the Block is to be stored. | 301 | key under which the block is to be stored. |
299 | The PUT procedure may also allow the caller | 302 | The second parameter is the block payload. |
300 | to specifiy put options. | 303 | The third parameter is the type of the block payload. |
304 | Block types are defined in <xref target="block_types"/>. | ||
305 | The PUT procedure also allows an optional <tt>PutParams</tt> | ||
306 | parameter. | ||
301 | </t> | 307 | </t> |
308 | <dl> | ||
309 | <dt>ReplicationLevel</dt> | ||
310 | <dd>The default setting of this parameter is X (FIXME).</dd> | ||
311 | <dt>RouteOptions</dt> | ||
312 | <dd> | ||
313 | are used in order to indicate certain | ||
314 | processing requirements for messages. | ||
315 | Any combination of options as defined in <xref target="route_options"/> | ||
316 | may be specificied. | ||
317 | The default setting of this parameter is that no option is set. | ||
318 | </dd> | ||
319 | <dt>Expiration</dt> | ||
320 | <dd> | ||
321 | is the requested expiration date for the block payload. | ||
322 | </dd> | ||
323 | </dl> | ||
302 | </section> | 324 | </section> |
303 | </section> | 325 | </section> |
304 | <section anchor="underlay" numbered="true" toc="default"> | 326 | <section anchor="underlay" numbered="true" toc="default"> |