Crate longport_httpcli

Crate longport_httpcli 

Source
Expand description

LongPort OpenAPI HTTP client

Structs§

HttpClient
LongPort HTTP client
HttpClientConfig
Configuration options for Http client
HttpError
Represents an HTTP error
Json
A JSON payload
Method
The Request Method (VERB)
RequestBuilder
A request builder

Enums§

HttpClientError
Http client error type
QsError
Query string serialization error

Traits§

FromPayload
Represents a type that can parse from payload
ToPayload
Represents a type that can convert to payload

Functions§

is_cn
do the best to guess whether the access point is in China Mainland or not

Type Aliases§

HttpClientResult
Http client result type