Struct actix_web::client::ClientRequest [] [src]

pub struct ClientRequest { /* fields omitted */ }

An HTTP Client Request

Methods

impl ClientRequest
[src]

[src]

Create request builder for GET request

[src]

Create request builder for HEAD request

[src]

Create request builder for POST request

[src]

Create request builder for PUT request

[src]

Create request builder for DELETE request

impl ClientRequest
[src]

[src]

Create client request builder

[src]

Get the request uri

[src]

Set client request uri

[src]

Get the request method

[src]

Set http Method for the request

[src]

Get http version for the request

[src]

Set http Version for the request

[src]

Get the headers from the request

[src]

Get a mutable reference to the headers

[src]

is chunked encoding enabled

[src]

is upgrade request

[src]

Content encoding

[src]

Decompress response payload

[src]

Requested write buffer capacity

[src]

Get body os this response

[src]

Set a body

[src]

Send request

This method returns future that resolves to a ClientResponse

Trait Implementations

impl Default for ClientRequest
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for ClientRequest
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for ClientRequest

impl !Sync for ClientRequest