Instance Methodswift-nio 2.72.0NIOCore
removeHandlers(pipeline:)
Removes the ChannelHandler
s from the ChannelPipeline
pipeline
, and closes that ChannelPipeline
.
func removeHandlers(pipeline: ChannelPipeline)
Parameters
- pipeline
The
ChannelPipline
to be closed.
This method is intended for use when writing custom ChannelCore
implementations. This can be called from close0
to tear down the ChannelPipeline
when closure is complete.
Other members in extension
Instance members
func tryUnwrapData<T>(NIOAny, as: T.Type
) -> T? Attempts to unwrap the given
NIOAny
as a specific concrete type.func unwrapData<T>(NIOAny, as: T.Type
) -> T Unwraps the given
NIOAny
as a specific concrete type.
Show obsolete interfaces (1)
Hide obsolete interfaces
func removeHandlers(channel: Channel
) Removes the
ChannelHandler
s from theChannelPipeline
belonging tochannel
, and closes thatChannelPipeline
.