close(mode:promise:)

    ChannelPipeline.swift:743
    func close(mode: CloseMode = .all, promise: EventLoopPromise<Void>?)

    Other members in extension

    Types

    • enum Position

      A Position within the ChannelPipeline used to insert handlers into the ChannelPipeline.

    • struct SynchronousOperations

      A view of a ChannelPipeline which may be used to invoke synchronous operations.

    Type members

    • init(channel: Channel)

      Create ChannelPipeline for a given Channel. This method should never be called by the end-user directly: it is only intended for use with custom Channel implementations. Users should always use channel.pipeline to access the ChannelPipeline for a Channel.

    Instance members

    Show obsolete interfaces (3)

    Hide obsolete interfaces