ProxyTypeWeb constructor

const ProxyTypeWeb({
  1. required String path,
  2. required String secret,
})

A web proxy server. MTProto traffic goes through an HTTPS relay page hosted by the application in a hidden web view; see updateWebProxyCarrierOpened. The proxy server must be a domain name and the port must be 443

Implementation

const ProxyTypeWeb({required this.path, required this.secret});