ソースを参照

Add QUERY HTTPMethod. (#3553)

Jon Shier 3 年 前
コミット
86f518d773
1 ファイル変更2 行追加0 行削除
  1. 2 0
      Source/HTTPMethod.swift

+ 2 - 0
Source/HTTPMethod.swift

@@ -43,6 +43,8 @@ public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
     public static let post = HTTPMethod(rawValue: "POST")
     /// `PUT` method.
     public static let put = HTTPMethod(rawValue: "PUT")
+    /// `QUERY` method.
+    public static let query = HTTPMethod(rawValue: "QUERY")
     /// `TRACE` method.
     public static let trace = HTTPMethod(rawValue: "TRACE")