MCPcopy Create free account
hub / github.com/amcewen/HttpClient / put

Method put

HttpClient.h:194–198  ·  view source on GitHub ↗

Connect to the server and start to send a PUT request. @param aServerName Name of the server being connected to. If NULL, the "Host" header line won't be sent @param aServerPort Port to connect to on the server @param aURLPath Url to request @param aUserAgent User-Agent string to send. If NULL the default user-ag

Source from the content-addressed store, hash-verified

192 @return 0 if successful, else error
193 */
194 int put(const char* aServerName,
195 uint16_t aServerPort,
196 const char* aURLPath,
197 const char* aUserAgent =NULL)
198 { return startRequest(aServerName, aServerPort, aURLPath, HTTP_METHOD_PUT, aUserAgent); }
199
200 /** Connect to the server and start to send a PUT request.
201 @param aServerName Name of the server being connected to. If NULL, the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected