( method: string, url: string, urlParams: UrlParams.Input, hash: Option.Option<string>, headers: Headers.Headers, body: HttpBody.HttpBody )
| 130 | * @since 4.0.0 |
| 131 | */ |
| 132 | export function makeWith( |
| 133 | method: string, |
| 134 | url: string, |
| 135 | urlParams: UrlParams.Input, |
| 136 | hash: Option.Option<string>, |
| 137 | headers: Headers.Headers, |
| 138 | body: HttpBody.HttpBody |
| 139 | ): HttpClientRequest { |
| 140 | const self = Object.create(Proto) |
| 141 | self.method = method |
| 142 | self.url = url |
| 143 | self.urlParams = urlParams |
| 144 | self.hash = hash |
| 145 | self.headers = headers |
| 146 | self.body = body |
| 147 | return self |
| 148 | } |
| 149 | |
| 150 | /** |
| 151 | * An empty `GET` request with no URL, query parameters, hash, headers, or body. |
no outgoing calls
no test coverage detected