Home | History | Annotate | Download | only in spdy

Lines Matching refs:ALTSVC

319   // Size, in bytes, of an ALTSVC frame not including the Protocol-ID, Host, and
490 case ALTSVC:
491 return "ALTSVC";
984 case ALTSVC:
1033 if (current_frame_type_ == ALTSVC) {
1964 // Buffer the new ALTSVC bytes we got.
2836 SpdyFrame* SpdyFramer::SerializeAltSvc(const SpdyAltSvcIR& altsvc) {
2839 size += altsvc.protocol_id().length();
2840 size += altsvc.host().length();
2841 size += altsvc.origin().length();
2844 builder.BeginNewFrame(*this, ALTSVC, kNoFlags, altsvc.stream_id());
2846 builder.WriteUInt32(altsvc.max_age());
2847 builder.WriteUInt16(altsvc.port());
2849 builder.WriteUInt8(altsvc.protocol_id().length());
2850 builder.WriteBytes(altsvc.protocol_id().data(),
2851 altsvc.protocol_id().length());
2852 builder.WriteUInt8(altsvc.host().length());
2853 builder.WriteBytes(altsvc.host().data(), altsvc.host().length());
2854 builder.WriteBytes(altsvc.origin().data(), altsvc.origin().length());
2907 virtual void VisitAltSvc(const SpdyAltSvcIR& altsvc) OVERRIDE {
2908 frame_.reset(framer_->SerializeAltSvc(altsvc));