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

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: Use private inheritance 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/base/request_priority.h"
12 #include "net/http/http_request_headers.h"
13 #include "url/gurl.h"
14
15 namespace net {
16
17 // Struct containing information needed to request a BidirectionalStream.
18 struct NET_EXPORT BidirectionalStreamRequestInfo {
19 BidirectionalStreamRequestInfo();
20 ~BidirectionalStreamRequestInfo();
21
22 // The requested URL.
23 GURL url;
24
25 // The method to use (GET, POST, etc.).
26 std::string method;
27
28 // Request priority.
29 RequestPriority priority;
30
31 // Any extra request headers (including User-Agent).
32 HttpRequestHeaders extra_headers;
33
34 // Whether END_STREAM should be set on the request HEADER frame.
35 bool end_stream_on_headers;
36 };
37
38 } // namespace net
39
40 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_REQUEST_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698