blob: a43e75207399974cce6b1b30b43d2dc41ee35b04 [file] [log] [blame]
// Copyright 2020 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview Implementation for the corp-relay-v4@google.com proxy.
*/
import {Corp} from './nassh_relay_corp.js';
import {RelayCorpv4WsStream} from './nassh_stream_relay_corpv4.js';
/**
* Corp v4 relay implementation.
*/
export class Corpv4 extends Corp {
/** @inheritDoc */
getStreamClass() {
return RelayCorpv4WsStream;
}
}
/**
* @override
* @type {number}
*/
Corpv4.prototype.defaultProxyPort = 443;