Optional
bodyOptional
headersOptional
httpOptional
invokeOptional
invokeOptional
methodOptional
rawEither pass URL, or mock only certain values.
Implemented this way as we use only pathname + query as request.url, dont need hostname, protocol in a lot of cases -> such as testing, and traditional URL can't be built without it.
Optional
host?: stringOptional
port?: stringOptional
protocol?: stringOptional
search?: stringGenerated using TypeDoc
Represents the unmodified URL path as received from downstream.