Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brimdata/super
/ SetUserAgent
Method
SetUserAgent
api/client/connection.go:93–95 ·
view source on GitHub ↗
(useragent string)
Source
from the content-addressed store, hash-verified
91
}
92
93
func
(c *Connection) SetUserAgent(useragent string) {
94
c.defaultHeader.Set(
"User-Agent"
, useragent)
95
}
96
97
type
Response
struct
{
98
*http.Response
Callers
nothing calls this directly
Calls
1
Set
Method · 0.45
Tested by
no test coverage detected