Optional
options: UserAgentOptionsBase URL to be used to resolve all relative request URLs with.
Cookie jar to use.
User-agent hooks.
Transport backend to perform HTTP requests with.
Transport backend to perform HTTPS requests with.
Maximum number of redirects to follow, default to 0
.
Name of user-agent to send with User-Agent
header.
Server to use for mock requests.
Transport backend to use for WebSocket connections.
Optional
options: UserAgentRequestOptionsAdd a hook to extend the user-agent.
Perform DELETE
request.
Perform GET
request.
Perform HEAD
request.
Perform OPTIONS
request.
Perform PATCH
request.
Perform POST
request.
Perform PUT
request.
Perform HTTP request.
Start mock server.
Open WebSocket connection.
Static
newCreate a new mock user-agent.
Optional
options: UserAgentOptionsOptional
serverOptions: ServerOptionsGenerated using TypeDoc
Mock user-agent class.