CockpitRemoteSessionEndpointResponse.binary constructor

const CockpitRemoteSessionEndpointResponse.binary(
  1. List<int> bytes, {
  2. int statusCode = HttpStatus.ok,
  3. String contentType = 'application/octet-stream',
})

Implementation

const CockpitRemoteSessionEndpointResponse.binary(
  List<int> bytes, {
  int statusCode = HttpStatus.ok,
  String contentType = 'application/octet-stream',
}) : this._(
       statusCode: statusCode,
       contentType: contentType,
       binaryBody: bytes,
     );