Home | History | Annotate | Download | only in spdy

Lines Matching refs:ALTSVC

338   // Size, in bytes, of an ALTSVC frame not including the Protocol-ID, Host, and
507 case ALTSVC:
508 return "ALTSVC";
1021 case ALTSVC:
1070 if (current_frame_type_ == ALTSVC) {
2020 // Buffer the new ALTSVC bytes we got.
2800 SpdyFrame* SpdyFramer::SerializeAltSvc(const SpdyAltSvcIR& altsvc) {
2803 size += altsvc.protocol_id().length();
2804 size += altsvc.host().length();
2805 size += altsvc.origin().length();
2808 builder.BeginNewFrame(*this, ALTSVC, kNoFlags, altsvc.stream_id());
2810 builder.WriteUInt32(altsvc.max_age());
2811 builder.WriteUInt16(altsvc.port());
2813 builder.WriteUInt8(altsvc.protocol_id().length());
2814 builder.WriteBytes(altsvc.protocol_id().data(),
2815 altsvc.protocol_id().length());
2816 builder.WriteUInt8(altsvc.host().length());
2817 builder.WriteBytes(altsvc.host().data(), altsvc.host().length());
2818 builder.WriteBytes(altsvc.origin().data(), altsvc.origin().length());
2889 virtual void VisitAltSvc(const SpdyAltSvcIR& altsvc) OVERRIDE {
2890 frame_.reset(framer_->SerializeAltSvc(altsvc));