Type Alias jsonrpsee_http_client::HttpBody
source · pub type HttpBody = Body;
Expand description
Default HTTP body for the client.
Aliased Type§
struct HttpBody(/* private fields */);
Implementations
Trait Implementations
source§impl Body for Body
impl Body for Body
source§fn poll_frame(
self: Pin<&mut Body>,
cx: &mut Context<'_>,
) -> Poll<Option<Result<Frame<<Body as Body>::Data>, <Body as Body>::Error>>>
fn poll_frame( self: Pin<&mut Body>, cx: &mut Context<'_>, ) -> Poll<Option<Result<Frame<<Body as Body>::Data>, <Body as Body>::Error>>>
Attempt to pull out the next data buffer of this stream.
source§fn size_hint(&self) -> SizeHint
fn size_hint(&self) -> SizeHint
Returns the bounds on the remaining length of the stream. Read more
source§fn is_end_stream(&self) -> bool
fn is_end_stream(&self) -> bool
Returns
true
when the end of stream has been reached. Read more