Contents

autoReplyPing(_:)

Configure the WebSocket protocol to automatically reply to pings.

Declaration

func autoReplyPing(_ reply: Bool) -> WebSocket

Parameters

  • reply:

    If true, ping messages will automatically be consumed by the connection instead of being delivered to the . Defaults to false.