structstd.Uri.WriteToStreamOptions[src]

Fields

scheme: bool = false

When true, include the scheme part of the URI.

authentication: bool = false

When true, include the user and password part of the URI. Ignored if authority is false.

authority: bool = false

When true, include the authority part of the URI.

path: bool = false

When true, include the path part of the URI.

query: bool = false

When true, include the query part of the URI. Ignored when path is false.

fragment: bool = false

When true, include the fragment part of the URI. Ignored when path is false.

port: bool = true

When true, include the port part of the URI. Ignored when port is null.

Source Code

Source code
pub const WriteToStreamOptions = struct {
    /// When true, include the scheme part of the URI.
    scheme: bool = false,

    /// When true, include the user and password part of the URI. Ignored if `authority` is false.
    authentication: bool = false,

    /// When true, include the authority part of the URI.
    authority: bool = false,

    /// When true, include the path part of the URI.
    path: bool = false,

    /// When true, include the query part of the URI. Ignored when `path` is false.
    query: bool = false,

    /// When true, include the fragment part of the URI. Ignored when `path` is false.
    fragment: bool = false,

    /// When true, include the port part of the URI. Ignored when `port` is null.
    port: bool = true,
}