We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca9be6e commit b0f7a73Copy full SHA for b0f7a73
client/transport/streamable_http.go
@@ -21,6 +21,12 @@ import (
21
22
type StreamableHTTPCOption func(*StreamableHTTP)
23
24
+func WithHTTPBasicClient(client *http.Client) StreamableHTTPCOption {
25
+ return func(sc *StreamableHTTP) {
26
+ sc.httpClient = client
27
+ }
28
+}
29
+
30
func WithHTTPHeaders(headers map[string]string) StreamableHTTPCOption {
31
return func(sc *StreamableHTTP) {
32
sc.headers = headers
0 commit comments