Skip to content

Commit ce705da

Browse files
committed
change CustomHeaders -> CustomHeader
1 parent bcfe5c9 commit ce705da

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

rpc/client2.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ func WithHTTPClient(
5555
}
5656
}
5757

58-
func WithCustomHeaders(
59-
headers map[string]string,
58+
func WithCustomHeader(
59+
customHeader http.Header,
6060
) func(*RPCClientOpts) {
6161
return func(opts *RPCClientOpts) {
62-
opts.CustomHeaders = headers
62+
opts.CustomHeader = customHeader
6363
}
6464
}
6565

0 commit comments

Comments
 (0)