AgsHttpRequestProtocol
public protocol AgsHttpRequestProtocol
Protocol used to make network requests by exposing standard REST methods.
-
Undocumented
Declaration
Swift
func get(_ url: String, params: [String: AnyObject]?, headers: [String: String]?, _ handler: @escaping (AgsHttpResponse) -> Void)
-
Undocumented
Declaration
Swift
func post(_ url: String, body: [String: Any]?, headers: [String: String]?, _ handler: @escaping (AgsHttpResponse) -> Void)
-
Undocumented
Declaration
Swift
func put(_ url: String, body: [String: Any]?, headers: [String: String]?, _ handler: @escaping (AgsHttpResponse) -> Void)
-
Undocumented
Declaration
Swift
func delete(_ url: String, headers: [String: String]?, _ handler: @escaping (AgsHttpResponse) -> Void)