blob: e7fbefa081db64052faf7703f84fb60f1bab5c49 [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
using fuchsia.mem;
using zx;
resource union URLBody {
/// A socket that will contain the streaming request or response body.
1: zx.handle:SOCKET stream;
/// A shared buffer that will contain the complete request or response body.
2: fuchsia.mem.Buffer buffer;