Ver Fonte

Add QUERY HTTPMethod. (#3553)

Jon Shier há 4 anos atrás
pai
commit
86f518d773
1 ficheiros alterados com 2 adições e 0 exclusões
  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")