ClientBootstrap

extension ClientBootstrap
  • Makes a new ClientBootstrap instance with a baseline Redis Channel pipeline for sending and receiving messages in Redis Serialization Protocol (RESP) format.

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

    Declaration

    Swift

    public static func makeRedisTCPClient(group: EventLoopGroup) -> ClientBootstrap

    Parameters

    group

    The EventLoopGroup to create the ClientBootstrap with.

    Return Value

    A ClientBootstrap with the base configuration of a Channel pipeline for RESP messages.