Channel

extension Channel
  • Adds the baseline ChannelHandlers needed to support sending and receiving messages in Redis Serialization Protocol (RESP) format to the pipeline.

    For implementation details, see RedisMessageEncoder, RedisByteDecoder, and RedisCommandHandler.

    Declaration

    Swift

    public func addBaseRedisHandlers() -> EventLoopFuture<Void>

    Return Value

    An EventLoopFuture that resolves after all handlers have been added to the pipeline.