Treatment options
http/client::options
Configuration
⬡ client: http/client::HttpClient
Inputs
⇥ headers: Block<StringMap> (std/data/string_map::StringMap)
⇥ url: Block<string>
Outputs
↦ completed: Block<void>
↦ data: Stream<byte>
↦ error: Block<string>
↦ failed: Block<void>
↦ finished: Block<void>
↦ headers: Block<StringMap> (std/data/string_map::StringMap)
↦ status: Block<HttpStatus> (http/status::HttpStatus)
Performs HTTP OPTIONS operation.
Request starts as soon as the URL and headers are transmitted.
Inputs:
- url: input gives the URL to call OPTIONS on (combined with optional base from the client model).
- headers: headers to send in request.
Outputs:
- status: HTTP status response.
- headers: headers received in response.
- data: data received as response, corresponding to the HTTP body.
- completed: emitted when the request finished successfully.
- failed: emitted if the request failed technically.
- error: message containing error when request failed technically.
- finished: emitted when the request finished, regardless of state.
Also see MDN documentation.