Commits

Justin Sheehy  committed f4ffeea

Automated commit message

  • Participants
  • Parent commits 9f75bb8

Comments (0)

Files changed (1)

File StreamBody.wiki

     get_streamed_body(Next(),[Hunk|Acc]).
 }}}
 
-If you use this resource in place of the [[QuickStart||quickstart]] resource module, you should then be able to issue {{{ curl -d '1234567890' http://127.0.0.1:8000/ }}} on the command line and the {{{ io:format }}} calls will show you what is going on.
+If you use this resource in place of the [[QuickStart|quickstart]] resource module, you should then be able to issue {{{ curl -d '1234567890' http://127.0.0.1:8000/ }}} on the command line and the {{{ io:format }}} calls will show you what is going on.
 
 Obviously, a realistic resource wouldn't use this API just to collect the whole binary into memory or break one up that is already present -- you'd use {{{ req_body }}} and put a simple iolist into {{{ set_resp_body }}} instead.  Also, the choices of 3 and 4 bytes as hunk size are far from optimal for most reasonable uses.  This resource is intended only as a demonstration of the API, not as a real-world use of streaming request/response bodies.