HTTPMethod

public enum HTTPMethod : String

List of the supported HTTP methods GET, POST, PUT, DELETE PATCH

  • get: Transfer a current representation of the target resource.
  • head: Same as GET, but only transfer the status line and header section.
  • post: Perform resource-specific processing on the request payload.
  • put: Replace all current representations of the target resource with the request payload.
  • delete: Remove all current representations of the target resource.
  • patch: Apply partial modifications to a resource the target resource.
  • get

    Undocumented

    Declaration

    Swift

    case get = "GET"
  • Undocumented

    Declaration

    Swift

    case head = "HEAD"
  • Undocumented

    Declaration

    Swift

    case post = "POST"
  • put

    Undocumented

    Declaration

    Swift

    case put = "PUT"
  • Undocumented

    Declaration

    Swift

    case delete = "DELETE"
  • Undocumented

    Declaration

    Swift

    case patch = "PATCH"