Module httptest::matchers::request[][src]

Expand description

Matchers that extract information from HTTP requests.

Structs

The Body mapper returned by body()

The Headers mapper returned by headers()

The Method mapper returned by method()

The MethodPath mapper returned by method_path()

The Path mapper returned by path()

The Query mapper returned by query()

Functions

Extract the body from the HTTP request and pass it to the next mapper.

Extract the headers from the HTTP request and pass the sequence to the next mapper.

Extract the method from the HTTP request and pass it to the next mapper.

A convenience matcher for both method and path. Extracts a bolean true if the method and path both match.

Extract the path from the HTTP request and pass it to the next mapper.

Extract the query from the HTTP request and pass it to the next mapper.