ArchethicOracle constructor

ArchethicOracle({
  1. required String endpoint,
})

Implementation

ArchethicOracle({
  required this.endpoint,
}) {
  websocketEndpoint =
      "${endpoint.replaceAll('https:', 'wss:').replaceAll('http:', 'wss:')}/socket/websocket";

  phoenixHttpEndpoint = '$endpoint/socket/websocket';
}