Files

21 lines
739 B
Swift

//===----------------------------------------------------------------------===//
//
// This source file is part of the AsyncHTTPClient open source project
//
// Copyright (c) 2021 Apple Inc. and the AsyncHTTPClient project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of AsyncHTTPClient project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
enum RequestBodyLength: Hashable {
/// size of the request body is not known before starting the request
case dynamic
/// size of the request body is fixed and exactly `length` bytes
case fixed(length: Int)
}