Struct gotham::test::TestClient [] [src]

pub struct TestClient<NH> where
    NH: NewHandler + 'static, 
{ /* fields omitted */ }

Client interface for issuing requests to a TestServer.

Methods

impl<NH> TestClient<NH> where
    NH: NewHandler + 'static, 
[src]

[src]

Parse the URI and begin constructing a HEAD request using this TestClient.

[src]

Begin constructing a HEAD request using this TestClient.

[src]

Parse the URI and begin constructing a GET request using this TestClient.

[src]

Begin constructing a GET request using this TestClient.

[src]

Parse the URI and begin constructing a POST request using this TestClient.

[src]

Begin constructing a POST request using this TestClient.

[src]

Parse the URI and begin constructing a PUT request using this TestClient.

[src]

Begin constructing a PUT request using this TestClient.

[src]

Parse the URI and begin constructing a PATCH request using this TestClient.

[src]

Begin constructing a PATCH request using this TestClient.

[src]

Parse the URI and begin constructing a DELETE request using this TestClient.

[src]

Begin constructing a DELETE request using this TestClient.

[src]

Parse the URI and begin constructing a request with the given HTTP method.

[src]

Begin constructing a request with the given HTTP method and Uri.

[src]

Send a constructed request using this TestClient, and await the response.

Trait Implementations

Auto Trait Implementations

impl<NH> !Send for TestClient<NH>

impl<NH> !Sync for TestClient<NH>