McpStreamableHttpException constructor
const
McpStreamableHttpException({
- required int statusCode,
- required String reasonPhrase,
- required String body,
- McpJsonMap? error,
- Map<
String, List< responseHeaders = const <String, List<String>>{},String> > - List<
McpBearerChallenge> bearerChallenges = const <McpBearerChallenge>[],
Implementation
const McpStreamableHttpException({
required this.statusCode,
required this.reasonPhrase,
required this.body,
this.error,
this.responseHeaders = const <String, List<String>>{},
this.bearerChallenges = const <McpBearerChallenge>[],
});