blob: bba72cf199d65883775e06fc7fb4d58a45f4e448 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module mojo;
import "third_party/mojo/src/mojo/public/interfaces/network/http_header.mojom";
struct HttpRequest {
string method = "GET";
string url;
array<HttpHeader>? headers;
handle<data_pipe_consumer>? body;
};
struct HttpResponse {
uint32 status_code = 200;
array<HttpHeader>? headers;
handle<data_pipe_consumer>? body;
};