StreamableHttpTransportConfig constructor

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

Implementation

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