Skip to main content

RPC_BINDING_CAPABILITIES

Constant RPC_BINDING_CAPABILITIES 

Source
pub const RPC_BINDING_CAPABILITIES: RouteTransportCapabilities;
Expand description

Codec/transport capabilities for every RPC binding route. Both unary and batch accept and emit CBOR or JSON, default CBOR; sequence responses (streaming) are not yet supported by this binding.

Used by encode_transport_result_with_status_for to negotiate response content type when the dispatcher synthesizes an error response or wraps a batch result.