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

Method get

HttpClient.h:74–76  ·  view source on GitHub ↗

Connect to the server and start to send a GET 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

72 @return 0 if successful, else error
73 */
74 int get(const char* aServerName, uint16_t aServerPort, const char* aURLPath,
75 const char* aUserAgent =NULL)
76 { return startRequest(aServerName, aServerPort, aURLPath, HTTP_METHOD_GET, aUserAgent); }
77
78 /** Connect to the server and start to send a GET request.
79 @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