MCPcopy
hub / github.com/mitmproxy/mitmproxy / TUDPFlow

Function TUDPFlow

web/src/js/__tests__/ducks/_tflow.ts:229–294  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227 }
228}
229export function TUDPFlow(): Required<UDPFlow> {
230 return {
231 "client_conn": {
232 "alpn": "http/1.1",
233 "cert": undefined,
234 "cipher": "cipher",
235 "id": "0a8833da-88e4-429d-ac54-61cda8a7f91c",
236 "peername": [
237 "127.0.0.1",
238 22
239 ],
240 "sni": "address",
241 "sockname": [
242 "",
243 0
244 ],
245 "timestamp_end": 946681206,
246 "timestamp_start": 946681200,
247 "timestamp_tls_setup": 946681201,
248 "tls_established": true,
249 "tls_version": "TLSv1.2"
250 },
251 "comment": "",
252 "error": {
253 "msg": "error",
254 "timestamp": 946681207.0
255 },
256 "id": "f9f7b2b9-7727-4477-822d-d3526e5b8951",
257 "intercepted": false,
258 "is_replay": undefined,
259 "marked": "",
260 "messages_meta": {
261 "contentLength": 12,
262 "count": 2,
263 "timestamp_last": 946681204.5
264 },
265 "modified": false,
266 "server_conn": {
267 "address": [
268 "address",
269 22
270 ],
271 "alpn": undefined,
272 "cert": undefined,
273 "cipher": undefined,
274 "id": "c49f9c2b-a729-4b16-9212-d181717e294b",
275 "peername": [
276 "192.168.0.1",
277 22
278 ],
279 "sni": "address",
280 "sockname": [
281 "address",
282 22
283 ],
284 "timestamp_end": 946681205,
285 "timestamp_start": 946681202,
286 "timestamp_tcp_setup": 946681203,

Callers 2

tutils.tsFile · 0.90
utilsSpec.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…