Skip to content

Enumeration

RedirectType

Specifies the type of redirect that the client should receive.
enum RedirectType

Topics

Enumeration Cases

  • case normal
    Forces the redirect to come with a GET, regardless of req method. 303 see other
  • case permanent
    A cacheable redirect. Not all user-agents preserve request method and body, so this should only be used for GET or HEAD requests 301 permanent
  • case temporary
    Maintains original request method, ie: PUT will call PUT on redirect. 307 Temporary

Instance Properties

Relationships

Conforms To

  • Swift.Equatable
  • Swift.Hashable