Home | History | Annotate | Download | only in spdy

Lines Matching refs:SpdyFrame

53 // Chop a SpdyFrame into an array of MockWrites.
56 MockWrite* ChopWriteFrame(const spdy::SpdyFrame& frame, int num_chunks);
64 // Chop a SpdyFrame into an array of MockReads.
67 MockRead* ChopReadFrame(const spdy::SpdyFrame& frame, int num_chunks);
115 // Returns a SpdyFrame.
116 spdy::SpdyFrame* ConstructSpdyPacket(const SpdyHeaderInfo& header_info,
123 spdy::SpdyFrame* ConstructSpdyControlFrame(const char* const extra_headers[],
132 spdy::SpdyFrame* ConstructSpdyControlFrame(const char* const extra_headers[],
156 spdy::SpdyFrame* ConstructSpdySettings(spdy::SpdySettings settings);
160 spdy::SpdyFrame* ConstructSpdyPing();
164 spdy::SpdyFrame* ConstructSpdyGoAway();
168 spdy::SpdyFrame* ConstructSpdyWindowUpdate(spdy::SpdyStreamId,
173 spdy::SpdyFrame* ConstructSpdyRstStream(spdy::SpdyStreamId stream_id,
191 // Returns a SpdyFrame.
192 spdy::SpdyFrame* ConstructSpdyGet(const char* const url,
200 // Returns a SpdyFrame.
201 spdy::SpdyFrame* ConstructSpdyGet(const char* const extra_headers[],
211 // Returns a SpdyFrame.
212 spdy::SpdyFrame* ConstructSpdyGet(const char* const extra_headers[],
220 spdy::SpdyFrame* ConstructSpdyConnect(const char* const extra_headers[],
227 // Returns a SpdyFrame.
228 spdy::SpdyFrame* ConstructSpdyPush(const char* const extra_headers[],
232 spdy::SpdyFrame* ConstructSpdyPush(const char* const extra_headers[],
237 spdy::SpdyFrame* ConstructSpdyPush(const char* const extra_headers[],
244 spdy::SpdyFrame* ConstructSpdyPush(int stream_id,
248 spdy::SpdyFrame* ConstructSpdyPushHeaders(int stream_id,
255 // Returns a SpdyFrame.
256 spdy::SpdyFrame* ConstructSpdyGetSynReply(const char* const extra_headers[],
263 // Returns a SpdyFrame.
264 spdy::SpdyFrame* ConstructSpdyGetSynReplyRedirect(int stream_id);
268 // Returns a SpdyFrame.
269 spdy::SpdyFrame* ConstructSpdySynReplyError(int stream_id);
272 // Returns a SpdyFrame.
273 spdy::SpdyFrame* ConstructSpdySynReplyError(
282 // Returns a SpdyFrame.
283 spdy::SpdyFrame* ConstructSpdyPost(int64 content_length,
290 // Returns a SpdyFrame.
291 spdy::SpdyFrame* ConstructChunkedSpdyPost(const char* const extra_headers[],
297 // Returns a SpdyFrame.
298 spdy::SpdyFrame* ConstructSpdyPostSynReply(const char* const extra_headers[],
302 spdy::SpdyFrame* ConstructSpdyBodyFrame(int stream_id,
306 spdy::SpdyFrame* ConstructSpdyBodyFrame(int stream_id, const char* data,
310 spdy::SpdyFrame* ConstructWrappedSpdyFrame(
311 const scoped_ptr<spdy::SpdyFrame>& frame, int stream_id);
313 // Create an async MockWrite from the given SpdyFrame.
314 MockWrite CreateMockWrite(const spdy::SpdyFrame& req);
316 // Create an async MockWrite from the given SpdyFrame and sequence number.
317 MockWrite CreateMockWrite(const spdy::SpdyFrame& req, int seq);
319 MockWrite CreateMockWrite(const spdy::SpdyFrame& req, int seq, bool async);
321 // Create a MockRead from the given SpdyFrame.
322 MockRead CreateMockRead(const spdy::SpdyFrame& resp);
324 // Create a MockRead from the given SpdyFrame and sequence number.
325 MockRead CreateMockRead(const spdy::SpdyFrame& resp, int seq);
327 MockRead CreateMockRead(const spdy::SpdyFrame& resp, int seq, bool async);
331 int CombineFrames(const spdy::SpdyFrame** frames, int num_frames,