Socket.keepalive

Get keepalive property.

  1. bool keepalive [@property getter]
    class Socket
    @property
    bool
    keepalive
    ()
  2. bool keepalive [@property setter]

Return Value

Type: bool

Whether to keep the connection alive by sending periodic pings.