MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / write

Method write

external/httplib.h:5831–5833  ·  view source on GitHub ↗

Stream implementation

Source from the content-addressed store, hash-verified

5829
5830// Stream implementation
5831inline ssize_t Stream::write(const char *ptr) {
5832 return write(ptr, strlen(ptr));
5833}
5834
5835inline ssize_t Stream::write(const std::string &s) {
5836 return write(s.data(), s.size());

Callers 10

xsputnMethod · 0.80
write_request_lineFunction · 0.80
write_response_lineFunction · 0.80
write_headersFunction · 0.80
write_dataFunction · 0.80
handle_file_requestMethod · 0.80
process_requestMethod · 0.80
write_charactersMethod · 0.80

Calls 4

send_socketFunction · 0.85
dataMethod · 0.80
appendMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected