HttpMethod

public enum HttpMethod

This enum represents available HTTP methods for requests sent via the Squid library. Currently, only the default REST methods are supported. Namely GET, POST, PUT, and DELETE.

  • get

    GET method.

    Declaration

    Swift

    case get
  • POST method.

    Declaration

    Swift

    case post
  • put

    PUT method.

    Declaration

    Swift

    case put
  • DELETE method.

    Declaration

    Swift

    case delete