Creates the request context using a http method and request resource url
url of the requested resource
http method
Private agentPrivate bodyPrivate headersPrivate httphttp method
Private urlSets the body of the http request either as a string or FormData
Note that setting a body on a HTTP GET, HEAD, DELETE, CONNECT or TRACE request is discouraged. https://httpwg.org/http-core/draft-ietf-httpbis-semantics-latest.html#rfc.section.7.3.1
the body of the request
Generated using TypeDoc
Represents an HTTP request context