def uri_base_local(self): if self._hostinfo: raise error.AnonymousHost( "Client side of %s can not be expressed as a URI" % self._ctx._scheme) else: return self._ctx._scheme + '://' + self.hostinfo_local
def uri_base_local(self): if self._quic.configuration.is_client: return error.AnonymousHost( "Client side of %s can not be expressed as a URI" % self.ctx.scheme) else: return self.ctx.scheme + '://' + self.hostinfo_local