blob: b1093d26cd3c6cc080d85299f48434ddb0dbad1e [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.
[DartPackage="mojo_services"]
module mojo;
import "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;
};