CborStream

Type Alias CborStream 

Source
pub type CborStream<T> = Streaming<T, CborEncoding>;
Expand description

A stream of Cbor-encoded data.

§Chunking

Normally, it’s not possible to stream JSON over HTTP because browsers are free to re-chunk data as they see fit. However, this implementation manually frames each item as if it were an unmasked websocket message.

Aliased Type§

pub struct CborStream<T> { /* private fields */ }