Sensor/Photon/HttpClient.cpp
void HttpClient::sendHeader(const char* aHeaderName, const char* aHeaderValue)
{
    client.print(aHeaderName);
    client.print(": ");
    client.println(aHeaderValue);

    #ifdef LOGGING
    Serial.print(aHeaderName);
    Serial.print(": ");
    Serial.println(aHeaderValue);
    #endif
}
/**
* Method to send a header, should only be called from within the class.
*/
Method to send a header, should only be called from within the class.
Method to send a header should only be called from within the class .
void HttpClient::sendHeader(const char* aHeaderName, const char* aHeaderValue)
{
    client.print(aHeaderName);
    client.print(": ");
    client.println(aHeaderValue);
    #ifdef LOGGING
    Serial.print(aHeaderName);
    Serial.print(": ");
    Serial.println(aHeaderValue);
    #endif
}
void HttpClient :: sendHeader ( const char * aHeaderName , const char * aHeaderValue ) { client . print ( aHeaderName ) ; client . print ( " " ) ; client . println ( aHeaderValue ) ; #ifdef LOGGING Serial . print ( aHeaderName ) ; Serial . print ( " " ) ; Serial . println ( aHeaderValue ) ; #endif }
Method to send a header, should only be called from within the class.
Method to send a header should only be called from within the class .