feat: add websocket upstream adapter
This commit is contained in:
@@ -58,6 +58,9 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
if (protocol === 'grpc' || protocol === 'Grpc') {
|
||||
return 'var(--accent)';
|
||||
}
|
||||
if (protocol === 'websocket' || protocol === 'Websocket') {
|
||||
return 'var(--teal)';
|
||||
}
|
||||
return 'var(--blue)';
|
||||
}
|
||||
|
||||
@@ -68,6 +71,9 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
if (protocol === 'grpc' || protocol === 'Grpc') {
|
||||
return 'gRPC';
|
||||
}
|
||||
if (protocol === 'websocket' || protocol === 'Websocket') {
|
||||
return 'WebSocket';
|
||||
}
|
||||
return 'REST';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user