WebRtcHttpMessage constructor

WebRtcHttpMessage({
  1. int requestId = 0,
  2. String host = '',
  3. int port = 0,
  4. String apiUrl = '',
  5. int method = httpMethodGet,
  6. int status = 0,
  7. Map<String, List<String>>? header,
  8. Map<String, String>? parameter,
  9. String body = '',
})

Implementation

WebRtcHttpMessage({
  this.requestId = 0,
  this.host = '',
  this.port = 0,
  this.apiUrl = '',
  this.method = httpMethodGet,
  this.status = 0,
  Map<String, List<String>>? header,
  Map<String, String>? parameter,
  this.body = '',
})  : header = header ?? {},
      parameter = parameter ?? {};