context(name:)

    Returns the ChannelHandlerContext for the handler with the given name, if one exists.

    ChannelPipeline.swift:1179
    func context(name: String) throws -> ChannelHandlerContext

    Parameters

    name

    The name of the handler whose context is being fetched.

    Returns

    The ChannelHandlerContext associated with the handler.

    Other members in extension

    Instance members