( method: HttpMethod, url: string, urlParams: UrlParams.Input, hash: Option.Option<string>, headers: Headers.Headers, body: HttpBody.HttpBody )
| 116 | * @since 4.0.0 |
| 117 | */ |
| 118 | export function makeWith( |
| 119 | method: HttpMethod, |
| 120 | url: string, |
| 121 | urlParams: UrlParams.Input, |
| 122 | hash: Option.Option<string>, |
| 123 | headers: Headers.Headers, |
| 124 | body: HttpBody.HttpBody |
| 125 | ): HttpClientRequest { |
| 126 | const self = Object.create(Proto) |
| 127 | self.method = method |
| 128 | self.url = url |
| 129 | self.urlParams = urlParams |
| 130 | self.hash = hash |
| 131 | self.headers = headers |
| 132 | self.body = body |
| 133 | return self |
| 134 | } |
| 135 | |
| 136 | /** |
| 137 | * An empty `GET` request with no URL, query parameters, hash, headers, or body. |
no outgoing calls
no test coverage detected