Package-level declarations
Types
Batch expectation built on top of BaseRequestExpectation instances.
Default implementation of FetchInterception.
Default implementation of RequestExpectation.
Represents a batch of request expectations, each defined by a URL pattern and its corresponding expectation.
Represents an encoded body of a network response.
Base class to wait for a Fetch response matching a URL pattern. Use this to collect and decode a paused fetch response, while keeping the use block clean and returning its own result.
Base class for handling request and response expectations. This class provides a context manager to wait for specific network requests and responses based on a URL pattern. It sets up handlers for request and response events and provides properties to access the request, response, and response body.
Functions
Decompresses a Gzip compressed byte array.
Decompresses the byte array if it is compressed using Zstd or Gzip compression.
Decompresses a Zstd compressed byte array.
Fetches the response body once it has been received.
Checks if the byte array is compressed using Gzip compression.
Checks if the byte array is compressed using Zstandard (Zstd) compression.