HTTPResponse

public struct HTTPResponse

Represents HTTP response from map.

Important

This is a Public Preview API. It may be changed or removed at any time.

Public

  • The http response status code.

    Declaration

    Swift

    public let statusCode: HTTPStatusCode
  • True when http status code is from range [200-300) which means the request was successfully received, understood, and accepted.

    Declaration

    Swift

    public let isSuccessful: Bool
  • The request URL.

    Declaration

    Swift

    public let requestURL: URL