MCPcopy Create free account
hub / github.com/Barracuda09/SATPI / setUserAgent

Method setUserAgent

src/StreamClient.h:111–114  ·  view source on GitHub ↗

Set the User-Agent of the socket client (Owner)

Source from the content-addressed store, hash-verified

109
110 /// Set the User-Agent of the socket client (Owner)
111 void setUserAgent(const std::string &userAgent) {
112 base::MutexLock lock(_mutex);
113 _userAgent = userAgent;
114 }
115
116 /// Get the User-Agent of the socket client (Owner
117 std::string getUserAgent() const {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected