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

Method write

HttpClient.h:364–364  ·  view source on GitHub ↗

Inherited from Print Note: 1st call to these indicates the user is sending the body, so if need Note: be we should finish the header first

Source from the content-addressed store, hash-verified

362 // Note: 1st call to these indicates the user is sending the body, so if need
363 // Note: be we should finish the header first
364 virtual size_t write(uint8_t aByte) { if (iState < eRequestSent) { finishHeaders(); }; return iClient-> write(aByte); };
365 virtual size_t write(const uint8_t *aBuffer, size_t aSize) { if (iState < eRequestSent) { finishHeaders(); }; return iClient->write(aBuffer, aSize); };
366 // Inherited from Stream
367 virtual int available() { return iClient->available(); };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected