( method: HttpMethod, url: string, urlParams: UrlParams.UrlParams, hash: Option.Option<string>, headers: Headers.Headers, body: Body.HttpBody )
| 40 | } |
| 41 | |
| 42 | function makeInternal( |
| 43 | method: HttpMethod, |
| 44 | url: string, |
| 45 | urlParams: UrlParams.UrlParams, |
| 46 | hash: Option.Option<string>, |
| 47 | headers: Headers.Headers, |
| 48 | body: Body.HttpBody |
| 49 | ): ClientRequest.HttpClientRequest { |
| 50 | const self = Object.create(Proto) |
| 51 | self.method = method |
| 52 | self.url = url |
| 53 | self.urlParams = urlParams |
| 54 | self.hash = hash |
| 55 | self.headers = headers |
| 56 | self.body = body |
| 57 | return self |
| 58 | } |
| 59 | |
| 60 | /** @internal */ |
| 61 | export const isClientRequest = (u: unknown): u is ClientRequest.HttpClientRequest => |
no test coverage detected
searching dependent graphs…