mirror of
https://github.com/Av0idD4rk/packmate.git
synced 2026-10-23 16:31:01 +00:00
Переименованы поля WS
This commit is contained in:
parent
74c754c046
commit
4a0cb2c91f
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="packet" :class="{'packet-incoming': packet.incoming}">
|
||||
<div>#{{ packet.id }} at {{ dateToText(packet.timestamp) }}, {{ packet.ungzipped ? 'GZIP ' : '' }}{{ packet.webSocketInflated ? 'WS' : '' }}
|
||||
<div>#{{ packet.id }} at {{ dateToText(packet.timestamp) }}, {{ packet.ungzipped ? 'GZIP ' : '' }}{{ packet.webSocketParsed ? 'WS' : '' }}
|
||||
<button @click.prevent="copyRaw" class="btn btn-link">Copy HEX</button>
|
||||
<button @click.prevent="copyText" class="btn btn-link">Copy text</button>
|
||||
<button @click.prevent="copyPythonBytes" class="btn btn-link">Copy as Python bytes</button>
|
||||
@ -25,7 +25,7 @@
|
||||
timestamp: Number(),
|
||||
incoming: Boolean(),
|
||||
ungzipped: Boolean(),
|
||||
webSocketInflated: Boolean(),
|
||||
webSocketParsed: Boolean(),
|
||||
content: String(),
|
||||
},
|
||||
},
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
label="Inflate WebSockets"
|
||||
label-for="addSvc-inflateWS">
|
||||
<b-form-checkbox id="addSvc-inflateWS" required
|
||||
v-model="inflateWebSockets"/>
|
||||
v-model="parseWebSockets"/>
|
||||
</b-form-group>
|
||||
</form>
|
||||
</b-modal>
|
||||
@ -59,7 +59,7 @@
|
||||
ungzipHttp: Boolean(),
|
||||
urldecodeHttpRequests: Boolean(),
|
||||
mergeAdjacentPackets: Boolean(),
|
||||
inflateWebSockets: Boolean(),
|
||||
parseWebSockets: Boolean(),
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
@ -75,7 +75,7 @@
|
||||
this.ungzipHttp = false;
|
||||
this.urldecodeHttpRequests = false;
|
||||
this.mergeAdjacentPackets = false;
|
||||
this.inflateWebSockets = false;
|
||||
this.parseWebSockets = false;
|
||||
},
|
||||
|
||||
createService(ev) {
|
||||
@ -84,7 +84,7 @@
|
||||
const ungzipHttp = this.ungzipHttp;
|
||||
const urldecodeHttpRequests = this.urldecodeHttpRequests;
|
||||
const mergeAdjacentPackets = this.mergeAdjacentPackets;
|
||||
const inflateWebSockets = this.inflateWebSockets;
|
||||
const parseWebSockets = this.parseWebSockets;
|
||||
if (!this.checkValidity()) {
|
||||
ev.preventDefault();
|
||||
console.debug('Form is invalid');
|
||||
@ -98,7 +98,7 @@
|
||||
ungzipHttp,
|
||||
urldecodeHttpRequests,
|
||||
mergeAdjacentPackets,
|
||||
inflateWebSockets,
|
||||
parseWebSockets,
|
||||
}).then(response => {
|
||||
const data = response.data;
|
||||
console.debug('Done adding service', data);
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
label="Inflate WebSockets"
|
||||
label-for="service-inflateWS">
|
||||
<b-form-checkbox id="service-inflateWS" required
|
||||
v-model="service.inflateWebSockets"/>
|
||||
v-model="service.parseWebSockets"/>
|
||||
</b-form-group>
|
||||
</b-form>
|
||||
</b-modal>
|
||||
@ -59,7 +59,7 @@
|
||||
ungzipHttp: Boolean,
|
||||
urldecodeHttpRequests: Boolean,
|
||||
mergeAdjacentPackets: Boolean,
|
||||
inflateWebSockets: Boolean,
|
||||
parseWebSockets: Boolean,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user