Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Side by Side Diff: net/http/bidirectional_stream_request_info.h

Issue 1326503003: Added a net::BidirectionalStream to expose a bidirectional streaming interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Get rid of DeterministicSocketData Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_HTTP_BIDIRECTIONAL_STREAM_REQUEST_INFO_H_
6 #define NET_HTTP_BIDIRECTIONAL_STREAM_REQUEST_INFO_H_
7
8 #include <string>
9
10 #include "net/base/net_export.h"
11 #include "net/http/http_request_headers.h"
12 #include "url/gurl.h"
13
14 namespace net {
15
16 // Struct containing information needed to request a BidirectionalStream.
17 struct NET_EXPORT BidirectionalStreamRequestInfo {
18 BidirectionalStreamRequestInfo();
19 ~BidirectionalStreamRequestInfo();
20
21 // The requested URL.
22 GURL url;
23
24 // The method to use (GET, POST, etc.).
25 std::string method;
26
27 // Any extra request headers (including User-Agent).
28 HttpRequestHeaders extra_headers;
29
30 // Whether END_STREAM should be set on the request HEADER frame.
31 bool end_stream_on_headers;
mef 2015/12/15 22:59:40 maybe add request_priority field here?
xunjieli 2015/12/16 00:26:09 Done.
32 };
33
34 } // namespace net
35
36 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_REQUEST_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698