Skip to content

Commit f79ad8a

Browse files
popstarfreasTheSpyder
authored andcommitted
feat: Make it possible to construct request options with few parameters
(cherry picked from commit aa137398aa9267410e2374d272fda0db2066bc6e)
1 parent 202e53c commit f79ad8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Http.res

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,7 @@ external requestOptions: (
708708
~setHost: bool=?,
709709
~socketPath: string=?,
710710
~timeout: int=?,
711+
unit,
711712
) => requestOptions = ""
712713

713714
@module("http") external request: string => ClientRequest.t = "request"

0 commit comments

Comments
 (0)