Module httptest::matchers::request

source ·
Expand description

Matchers that extract information from HTTP requests.

Structs

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.