mcp-connector
Version:
MCP Remote Proxy Server for Streamable HTTP with OAuth Support.
25 lines (23 loc) • 850 B
JavaScript
// In Priority Order
export var TransportType;
(function (TransportType) {
TransportType["PROXY_HTTP"] = "--proxy-http";
TransportType["PROXY_SSE"] = "--proxy-sse";
})(TransportType || (TransportType = {}));
/**
* @description Class Based Model for Complex Enum. Will take more space than light weight enum as each class is stored as object
*
export class TransportType {
static readonly PROXY_HTTP = new TransportType('--proxy-http');
static readonly PROXY_SSE = new TransportType('--proxy-sse');
static readonly HTTP = new TransportType('--http');
static readonly SSE = new TransportType('--sse');
private constructor(
public readonly label: string,
) {}
static values() {
return [TransportType.PROXY_HTTP, TransportType.PROXY_SSE, TransportType.HTTP, TransportType.SSE];
}
}
*/
//# sourceMappingURL=enum.js.map