MCPcopy Create free account
hub / github.com/apache/mesos / streamingMediaType

Function streamingMediaType

src/common/http.cpp:127–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125
126
127bool streamingMediaType(ContentType contentType)
128{
129 switch(contentType) {
130 case ContentType::PROTOBUF:
131 case ContentType::JSON: {
132 return false;
133 }
134
135 case ContentType::RECORDIO: {
136 return true;
137 }
138 }
139
140 UNREACHABLE();
141}
142
143
144string lowerSlaveToAgent(string s)

Callers 5

apiMethod · 0.85
_apiMethod · 0.85
handlerMethod · 0.85
attachContainerOutputMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected