Skip to content

Commit

Permalink
Add ws, wss schemes
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Mar 24, 2021
1 parent b9f2a0d commit baedbdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/Hummingbird/HTTP/URL.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ public struct HBURL: CustomStringConvertible, ExpressibleByStringLiteral {
public static var unix: Self { return .init(rawValue: "unix") }
public static var http_unix: Self { return .init(rawValue: "http_unix") }
public static var https_unix: Self { return .init(rawValue: "https_unix") }
public static var ws: Self { return .init(rawValue: "ws") }
public static var wss: Self { return .init(rawValue: "wss") }
}

public let string: String
Expand Down

0 comments on commit baedbdc

Please sign in to comment.