blob: e7d36d27463610de57b622bd0b16045c0dc9e801 [file] [log] [blame]
// Copyright 2020 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.
@available(added=7)
library fuchsia.url;
/// There is no maximum URL length defined by RFC 3986, but this length should
/// be long enough to accommodate most non-data: URLs.
// See https://fxbug.dev/42130991 for additional context on this value.
const MAX_URL_LENGTH uint32 = 4096;
/// A URL is used to reference a resource from a specified network location.
alias Url = string:MAX_URL_LENGTH;