WebSocketResponse constructor

WebSocketResponse({
  1. required int status,
  2. required String statusText,
  3. required Headers headers,
  4. String? headersText,
  5. Headers? requestHeaders,
  6. String? requestHeadersText,
})

Implementation

WebSocketResponse(
    {required this.status,
    required this.statusText,
    required this.headers,
    this.headersText,
    this.requestHeaders,
    this.requestHeadersText});