with-http-request* ( request quot: ( chunk -- ) -- response )
HTTP client ยป GET requests with the HTTP client

Prev:with-http-request ( request quot: ( chunk -- ) -- response )


Vocabulary
http.client

Inputs
requesta request
quota quotation with stack effect ( chunk -- )


Outputs
responsea response


Word description
Sends an HTTP request to an HTTP server, and reads the response incrementally. Chunks of data are passed to the quotation as they are read. Does not throw an error if the HTTP request fails; to do so, call check-response on the response.

See also
http-request, http-request*, with-http-request

Definition