Lines Matching defs:headers
886 // adding a new block of headers to an existing stream. The header pairs
893 Debug(session, "beginning headers for stream %d", id);
900 Http2Stream::New(session, id, frame->headers.cat) ==
916 stream->StartHeaders(frame->headers.cat);
963 // Intentional fall-through, handled just like headers frames
1022 // Remove the headers reference.
1029 Debug(this, "freeing headers for stream %d", id);
1078 // pipeline is stopped and we should remove the current headers reference
1146 // invalid headers strictly and would shut down the stream. We are intentionally
1331 // received headers into a JavaScript array and pushes those out to JS.
1339 Debug(this, "handle headers frame for stream %d", id);
1346 // The headers are stored as a vector of Http2Header instances.
1873 const Http2Headers& headers,
1883 headers.data(),
1884 headers.length(),
2086 Debug(this, "starting headers, category: %d", category);
2179 int Http2Stream::SubmitResponse(const Http2Headers& headers, int options) {
2193 headers.data(),
2194 headers.length(),
2201 // Submit informational headers for a stream.
2202 int Http2Stream::SubmitInfo(const Http2Headers& headers) {
2205 Debug(this, "sending %d informational headers", headers.length());
2211 headers.data(),
2212 headers.length(),
2229 // Submit informational headers for a stream.
2230 int Http2Stream::SubmitTrailers(const Http2Headers& headers) {
2233 Debug(this, "sending %d trailers", headers.length());
2238 if (headers.length() == 0) {
2249 headers.data(),
2250 headers.length());
2324 Http2Stream* Http2Stream::SubmitPushPromise(const Http2Headers& headers,
2334 headers.data(),
2335 headers.length(),
2424 return true; // Ignore empty headers.
2429 // of headers and the session has memory available for it.
2697 Local<Array> headers = args[0].As<Array>();
2706 Http2Headers(env, headers),
2796 Local<Array> headers = args[0].As<Array>();
2801 Http2Headers(env, headers),
2807 // Submits informational headers on the Http2Stream
2813 Local<Array> headers = args[0].As<Array>();
2815 args.GetReturnValue().Set(stream->SubmitInfo(Http2Headers(env, headers)));
2818 // Submits trailing headers on the Http2Stream
2824 Local<Array> headers = args[0].As<Array>();
2827 stream->SubmitTrailers(Http2Headers(env, headers)));
2851 Local<Array> headers = args[0].As<Array>();
2859 Http2Headers(env, headers),
3158 SET_FUNCTION(4, headers)