MCPcopy Create free account
hub / github.com/catboost/catboost / WriteHostHeader

Function WriteHostHeader

library/cpp/neh/http_headers.h:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8 namespace NHttp {
9 template <typename Port>
10 void WriteHostHeader(IOutputStream& out, TStringBuf host, Port port) {
11 out << TStringBuf("Host: ") << host;
12 if (port) {
13 out << TStringBuf(":") << port;
14 }
15 out << TStringBuf("\r\n");
16 }
17
18 class THeaderSplitter {
19 public:

Callers 1

WriteHostHeaderIfNotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected