Skip to main content

Module http_protocol

Module http_protocol 

Source
Expand description

HTTP client-protocol building blocks: HTTP bindings and RPC payloads.

Structs§

HttpBindingProtocol
An HTTP protocol for REST-style APIs that use HTTP bindings.
HttpRpcProtocol
An HTTP protocol for RPC-style APIs that put everything in the body.

Functions§

http_error_deserializer
Wraps a protocol’s body deserializer so a modeled error response’s transport-bound members are read from the HTTP message.
http_output_deserializer
Wraps a protocol’s body deserializer so a successful response’s transport-bound members are read from the HTTP message.
percent_encode
Percent-encode a string per RFC 3986 section 2.3 (unreserved characters only).