RLMHTTPMethod

Objective-C

enum RLMHTTPMethod : int32_t {}

Swift

@_nonSendable(_assumed) @frozen enum RLMHTTPMethod : Int32, @unchecked Sendable

Allowed HTTP methods to be used with RLMNetworkTransport.

  • GET is used to request data from a specified resource.

    Declaration

    Objective-C

    RLMHTTPMethodGET = 0

    Swift

    case GET = 0
  • POST is used to send data to a server to create/update a resource.

    Declaration

    Objective-C

    RLMHTTPMethodPOST = 1

    Swift

    case POST = 1
  • PATCH is used to send data to a server to update a resource.

    Declaration

    Objective-C

    RLMHTTPMethodPATCH = 2

    Swift

    case PATCH = 2
  • PUT is used to send data to a server to create/update a resource.

    Declaration

    Objective-C

    RLMHTTPMethodPUT = 3

    Swift

    case PUT = 3
  • The DELETE method deletes the specified resource.

    Declaration

    Objective-C

    RLMHTTPMethodDELETE = 4

    Swift

    case DELETE = 4