func authenticatedRequest (for: HTTPRequest, numberOfRetries : UInt8) async throws -> HTTPRequest.Response
Sends an authenticated HTTP request to a Web API endpoint. Returns a
HTTPRequest.Response
.Availability
Framework
var isAuthorized: Bool { get }
This property will only be true if the instance’s authorization
method has been called.
func authenticatedRequest (for: HTTPRequest, numberOfRetries : UInt8) async throws -> HTTPRequest.Response
HTTPRequest.Response
.