Skip to main content

Module rest

Module rest 

Source
Expand description

A client and helpers that enforce common REST semantics across Lexe crates.

Structs§

RestClient
A generic RestClient which conforms to Lexe’s API.
StreamBody
A streaming response body which yields chunks of the body as raw Bytes as they arrive.

Constants§

API_REQUEST_TIMEOUT
DELETE
GET
POST
PUT

Statics§

CONTENT_TYPE_ED25519_BCS
The CONTENT-TYPE header for signed BCS-serialized structs.

Traits§

RequestBuilderExt
Extension trait on reqwest::RequestBuilder for easily modifying requests as they’re constructed.