소스 검색

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")