typespec 0.13.0

Project root for all TypeSpec-related crates.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

//! This module contains types and utilities for working with HTTP status codes.

pub mod headers;
pub mod response;
mod status_code;

pub use headers::DEFAULT_ALLOWED_HEADER_NAMES;
pub use response::RawResponse;
pub use status_code::StatusCode;

/// Default pattern for redacted headers or query parameters.
pub const REDACTED_PATTERN: &str = "REDACTED";