Skip to content

Commit

Permalink
Further HTTP experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelGHSeg committed Sep 20, 2023
1 parent b790e21 commit b01078a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/node/src/lib/http-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface HTTPFetchFn {
*/
export interface HTTPFetchRequest {
headers: Record<string, string>
body?: string | ReadableStream<Uint8Array>
body: string
method: HTTPClientRequest['method']
signal: any // AbortSignal type does not play nicely with node-fetch
}
Expand All @@ -27,7 +27,7 @@ export interface HTTPFetchRequest {
*/
export interface HTTPResponse {
headers: Record<string, any>
body: string
body: string | ReadableStream<Uint8Array> | null
status: number
statusText: string
}
Expand Down

0 comments on commit b01078a

Please sign in to comment.