DownloadMethod.HTTPMethod
ENUM
DownloadMethod.HTTPMethod
Swift
1public enum HTTPMethod: Equatable, CustomStringConvertibleThe HTTP request method. This is an option on Introspection schema downloads only. Apollo Registry downloads are always POST requests.
Cases
POST
Swift
1case POSTUse POST for HTTP requests. This is the default for GraphQL.
GET(queryParameterName:)
Swift
1case GET(queryParameterName: String)Use GET for HTTP requests with the GraphQL query being sent in the query string parameter named in
queryParameterName.
Properties
description
Swift
1public var description: String