AWSProtocolTrait constructor

const AWSProtocolTrait(
  1. ShapeId shapeId, {
  2. List<AlpnProtocol> http = defaultHttpProtocols,
  3. List<AlpnProtocol>? eventStreamHttp,
  4. required TimestampFormat timestampFormat,
  5. bool noInlineDocumentSupport = false,
})

Implementation

const AWSProtocolTrait(
  this.shapeId, {
  List<AlpnProtocol> http = defaultHttpProtocols,
  List<AlpnProtocol>? eventStreamHttp,
  required this.timestampFormat,
  this.noInlineDocumentSupport = false,
})  : _http = http,
      _eventStreamHttp = eventStreamHttp;