PhoenixRawSocket constructor

PhoenixRawSocket(
  1. String endpoint, {
  2. PhoenixSocketOptions? socketOptions,
})

Creates an instance of PhoenixRawSocket

endpoint is the full url to which you wish to connect e.g. ws://localhost:4000/websocket/socket

Implementation

PhoenixRawSocket(super.endpoint, {super.socketOptions});