Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the public scope of the static parameter and static function of Scheme components #32

Merged
merged 1 commit into from Dec 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions Sources/APIRouter/URLBuilder.swift
Expand Up @@ -69,15 +69,15 @@ public extension URL {
public struct Scheme: HttpUrlProtocol {
private let scheme: URLScheme

static let http = Self(.http)
public static let http = Self(.http)

static let https = Self(.https)
public static let https = Self(.https)

static let mqtt = Self(.mqtt)
public static let mqtt = Self(.mqtt)

static let mqtts = Self(.mqtts)
public static let mqtts = Self(.mqtts)

static func custom(_ value: String) -> Self {
public static func custom(_ value: String) -> Self {
Self(.custom(value))
}

Expand Down