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

Side by Side Diff: mojo/services/http_server/interfaces/http_request.mojom

Issue 1398973004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 2). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_1
Patch Set: add missing copyright notices Created 5 years, 2 months 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module http_server; 6 module http_server;
7 7
8 struct HttpRequest { 8 struct HttpRequest {
9 string relative_url; // Starts with '/'. Example: "/test?query=foo" 9 string relative_url; // Starts with '/'. Example: "/test?query=foo"
10 10
11 // The HTTP method if applicable. 11 // The HTTP method if applicable.
12 string method = "GET"; 12 string method = "GET";
13 13
14 // Additional HTTP request headers. 14 // Additional HTTP request headers.
15 map<string, string>? headers; 15 map<string, string>? headers;
16 16
17 // The payload for the request body. Only set for "POST" or "PUT". 17 // The payload for the request body. Only set for "POST" or "PUT".
18 handle<data_pipe_consumer>? body; 18 handle<data_pipe_consumer>? body;
19 }; 19 };
OLDNEW
« no previous file with comments | « mojo/services/http_server/interfaces/BUILD.gn ('k') | mojo/services/http_server/interfaces/http_response.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698