( method: M )
| 155 | * @since 4.0.0 |
| 156 | */ |
| 157 | export const make = <M extends HttpMethod>( |
| 158 | method: M |
| 159 | ) => |
| 160 | ( |
| 161 | url: string | URL, |
| 162 | options?: Options.NoUrl | undefined |
| 163 | ): HttpClientRequest => |
| 164 | modify(empty, { |
| 165 | method, |
| 166 | url, |
| 167 | ...(options ?? undefined) |
| 168 | }) |
| 169 | |
| 170 | /** |
| 171 | * Creates a `GET` request for the specified URL. |
no test coverage detected