SocketIOClientConfiguration

public struct SocketIOClientConfiguration : ExpressibleByArrayLiteral, Collection, MutableCollection

An array-like type that holds SocketIOClientOptions

  • The start index of this collection.

    Declaration

    Swift

    public var startIndex: Index
  • The end index of this collection.

    Declaration

    Swift

    public var endIndex: Index
  • Whether this collection is empty.

    Declaration

    Swift

    public var isEmpty: Bool
  • The number of elements stored in this collection.

    Declaration

    Swift

    public var count: Index.Stride
  • The first element in this collection.

    Declaration

    Swift

    public var first: Element?
  • Creates a new SocketIOClientConfiguration from an array literal.

    Declaration

    Swift

    public init(arrayLiteral elements: Element...)
  • Creates an iterator for this collection.

    Declaration

    Swift

    public func makeIterator() -> Iterator
  • Declaration

    Swift

    public func index(after i: Index) -> Index
  • Special method that inserts element into the collection, replacing any other instances of element.

    Declaration

    Swift

    public mutating func insert(_ element: Element, replacing replace: Bool = true)