WebSocket: Add heartbeatPeriod

This commit is contained in:
mhsanaei
2024-12-03 22:07:58 +01:00
parent 462e02140d
commit 3e8fc59213
4 changed files with 20 additions and 2 deletions

View File

@@ -9,6 +9,9 @@
<a-form-item label='{{ i18n "path" }}'>
<a-input v-model.trim="inbound.stream.ws.path"></a-input>
</a-form-item>
<a-form-item label='Heartbeat Period'>
<a-input-number v-model.number="inbound.stream.ws.heartbeatPeriod" :min="0"></a-input-number>
</a-form-item>
<a-form-item label='{{ i18n "pages.inbounds.stream.tcp.requestHeader" }}'>
<a-button icon="plus" size="small" @click="inbound.stream.ws.addHeader('host', '')"></a-button>
</a-form-item>