MCPcopy Create free account
hub / github.com/SmingHub/Sming / setAuth

Method setAuth

Sming/Components/Network/src/Network/Http/HttpRequest.h:121–126  ·  view source on GitHub ↗

Authentication adapters set here

Source from the content-addressed store, hash-verified

119#ifdef ENABLE_HTTP_REQUEST_AUTH
120 // Authentication adapters set here
121 HttpRequest* setAuth(AuthAdapter* adapter)
122 {
123 adapter->setRequest(this);
124 auth = adapter;
125 return this;
126 }
127#endif
128
129 /**

Callers

nothing calls this directly

Calls 1

setRequestMethod · 0.45

Tested by

no test coverage detected