Allows building a new HttpRequest with new properties. Any null property will not be assigned and instead this instance property value will be used.
new properties to use on the requet.
a new HttpRequest instance with new data
Merges multiple HttpRequest in one single HttpRequest. Use it when you want to combine multiple request headers.
the array of requests to merge in the present reqpropertiesuest
a HttpRequest with all requests combined with this sinstance
Transforms this HttpRequest instance in a cURL like request.
a string that represents the curl request.
Transforms this HttpRequest instance in a Fetch Request object.
a fetch request that is a translation of this instance
Generated using TypeDoc
Types an HTTP request. Only the url and verb fields are required, if others are not provided it defaults to a request with empty or no body with binary type.