ProxyRelayHop constructor

ProxyRelayHop({
  1. String? http3RelayEndpoint,
  2. String? http2RelayEndpoint,
  3. Map<String, String>? additionalHTTPHeaders,
})

Implementation

ProxyRelayHop({
  this.http3RelayEndpoint,
  this.http2RelayEndpoint,
  this.additionalHTTPHeaders,
}) {
  assert(
    http3RelayEndpoint != null || http2RelayEndpoint != null,
    "At least one of http3RelayEndpoint or http2RelayEndpoint must be non-null",
  );
}