SseTransportConfig constructor

const SseTransportConfig({
  1. String endpoint = '/sse',
  2. String messagesEndpoint = '/message',
  3. String host = 'localhost',
  4. int port = 8080,
  5. List<int> fallbackPorts = const [],
  6. String? authToken,
  7. List<Middleware> middleware = const [],
})

Implementation

const SseTransportConfig({
  this.endpoint = '/sse',
  this.messagesEndpoint = '/message',
  this.host = 'localhost',
  this.port = 8080,
  this.fallbackPorts = const [],
  this.authToken,
  this.middleware = const [],
});