MCPcopy
hub / github.com/openai/openai-go / RequestOptionFunc

FuncType RequestOptionFunc

internal/requestconfig/requestconfig.go:104–104  ·  view source on GitHub ↗
func(*RequestConfig) error

Source from the content-addressed store, hash-verified

102}
103
104type RequestOptionFunc func(*RequestConfig) error
105type PreRequestOptionFunc func(*RequestConfig) error
106
107func (s RequestOptionFunc) Apply(r *RequestConfig) error { return s(r) }

Callers 15

WithEndpointFunction · 0.92
WithTokenCredentialFunction · 0.92
WithBaseURLFunction · 0.92
WithHTTPClientFunction · 0.92
WithMiddlewareFunction · 0.92
WithMaxRetriesFunction · 0.92
WithHeaderFunction · 0.92
WithHeaderAddFunction · 0.92
WithHeaderDelFunction · 0.92
WithQueryFunction · 0.92
WithQueryAddFunction · 0.92
WithQueryDelFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…