make schemeFor public (#1331)

This commit is contained in:
Raj
2026-03-19 14:13:15 -07:00
committed by GitHub
parent 4a8a8a6f89
commit e5f9abd8ff
@@ -40,7 +40,7 @@ public enum RequestScheme: String, Sendable {
/// Returns the prescribed protocol to use while making a HTTP request to a webserver
/// - Parameter host: The domain or IP address of the webserver
/// - Returns: RequestScheme
package func schemeFor(host: String) throws -> Self {
public func schemeFor(host: String) throws -> Self {
guard host.count > 0 else {
throw ContainerizationError(.invalidArgument, message: "host cannot be empty")
}