ResponseDisposition

public enum ResponseDisposition : Sendable

Type indicating how a DataRequest or DataStreamRequest should proceed after receiving an HTTPURLResponse.

  • Allow the request to continue normally.

    Declaration

    Swift

    case allow
  • Cancel the request, similar to calling cancel().

    Declaration

    Swift

    case cancel