devtools-protocol 0.0.1454823 → 0.0.1456087

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14616,6 +14616,75 @@
14616
14616
  }
14617
14617
  ]
14618
14618
  },
14619
+ {
14620
+ "id": "DirectUDPSocketOptions",
14621
+ "experimental": true,
14622
+ "type": "object",
14623
+ "properties": [
14624
+ {
14625
+ "name": "remoteAddr",
14626
+ "optional": true,
14627
+ "type": "string"
14628
+ },
14629
+ {
14630
+ "name": "remotePort",
14631
+ "description": "Unsigned int 16.",
14632
+ "optional": true,
14633
+ "type": "integer"
14634
+ },
14635
+ {
14636
+ "name": "localAddr",
14637
+ "optional": true,
14638
+ "type": "string"
14639
+ },
14640
+ {
14641
+ "name": "localPort",
14642
+ "description": "Unsigned int 16.",
14643
+ "optional": true,
14644
+ "type": "integer"
14645
+ },
14646
+ {
14647
+ "name": "dnsQueryType",
14648
+ "optional": true,
14649
+ "$ref": "DirectSocketDnsQueryType"
14650
+ },
14651
+ {
14652
+ "name": "sendBufferSize",
14653
+ "description": "Expected to be unsigned integer.",
14654
+ "optional": true,
14655
+ "type": "number"
14656
+ },
14657
+ {
14658
+ "name": "receiveBufferSize",
14659
+ "description": "Expected to be unsigned integer.",
14660
+ "optional": true,
14661
+ "type": "number"
14662
+ }
14663
+ ]
14664
+ },
14665
+ {
14666
+ "id": "DirectUDPMessage",
14667
+ "experimental": true,
14668
+ "type": "object",
14669
+ "properties": [
14670
+ {
14671
+ "name": "data",
14672
+ "type": "string"
14673
+ },
14674
+ {
14675
+ "name": "remoteAddr",
14676
+ "description": "Null for connected mode.",
14677
+ "optional": true,
14678
+ "type": "string"
14679
+ },
14680
+ {
14681
+ "name": "remotePort",
14682
+ "description": "Null for connected mode.\nExpected to be unsigned integer.",
14683
+ "optional": true,
14684
+ "type": "integer"
14685
+ }
14686
+ ]
14687
+ },
14619
14688
  {
14620
14689
  "id": "PrivateNetworkRequestPolicy",
14621
14690
  "experimental": true,
@@ -15175,6 +15244,13 @@
15175
15244
  "description": "Longest post body size (in bytes) that would be included in requestWillBeSent notification",
15176
15245
  "optional": true,
15177
15246
  "type": "integer"
15247
+ },
15248
+ {
15249
+ "name": "reportDirectSocketTraffic",
15250
+ "description": "Whether DirectSocket chunk send/receive events should be reported.",
15251
+ "experimental": true,
15252
+ "optional": true,
15253
+ "type": "boolean"
15178
15254
  }
15179
15255
  ]
15180
15256
  },
@@ -16412,8 +16488,67 @@
16412
16488
  ]
16413
16489
  },
16414
16490
  {
16415
- "name": "directTCPSocketChunkError",
16416
- "description": "Fired when there is an error\nwhen writing to tcp direct socket stream.\nFor example, if user writes illegal type like string\ninstead of ArrayBuffer or ArrayBufferView.\nThere's no reporting for reading, because\nwe cannot know errors on the other side.",
16491
+ "name": "directUDPSocketCreated",
16492
+ "description": "Fired upon direct_socket.UDPSocket creation.",
16493
+ "experimental": true,
16494
+ "parameters": [
16495
+ {
16496
+ "name": "identifier",
16497
+ "$ref": "RequestId"
16498
+ },
16499
+ {
16500
+ "name": "options",
16501
+ "$ref": "DirectUDPSocketOptions"
16502
+ },
16503
+ {
16504
+ "name": "timestamp",
16505
+ "$ref": "MonotonicTime"
16506
+ },
16507
+ {
16508
+ "name": "initiator",
16509
+ "optional": true,
16510
+ "$ref": "Initiator"
16511
+ }
16512
+ ]
16513
+ },
16514
+ {
16515
+ "name": "directUDPSocketOpened",
16516
+ "description": "Fired when direct_socket.UDPSocket connection is opened.",
16517
+ "experimental": true,
16518
+ "parameters": [
16519
+ {
16520
+ "name": "identifier",
16521
+ "$ref": "RequestId"
16522
+ },
16523
+ {
16524
+ "name": "localAddr",
16525
+ "type": "string"
16526
+ },
16527
+ {
16528
+ "name": "localPort",
16529
+ "description": "Expected to be unsigned integer.",
16530
+ "type": "integer"
16531
+ },
16532
+ {
16533
+ "name": "timestamp",
16534
+ "$ref": "MonotonicTime"
16535
+ },
16536
+ {
16537
+ "name": "remoteAddr",
16538
+ "optional": true,
16539
+ "type": "string"
16540
+ },
16541
+ {
16542
+ "name": "remotePort",
16543
+ "description": "Expected to be unsigned integer.",
16544
+ "optional": true,
16545
+ "type": "integer"
16546
+ }
16547
+ ]
16548
+ },
16549
+ {
16550
+ "name": "directUDPSocketAborted",
16551
+ "description": "Fired when direct_socket.UDPSocket is aborted.",
16417
16552
  "experimental": true,
16418
16553
  "parameters": [
16419
16554
  {
@@ -16430,6 +16565,59 @@
16430
16565
  }
16431
16566
  ]
16432
16567
  },
16568
+ {
16569
+ "name": "directUDPSocketClosed",
16570
+ "description": "Fired when direct_socket.UDPSocket is closed.",
16571
+ "experimental": true,
16572
+ "parameters": [
16573
+ {
16574
+ "name": "identifier",
16575
+ "$ref": "RequestId"
16576
+ },
16577
+ {
16578
+ "name": "timestamp",
16579
+ "$ref": "MonotonicTime"
16580
+ }
16581
+ ]
16582
+ },
16583
+ {
16584
+ "name": "directUDPSocketChunkSent",
16585
+ "description": "Fired when message is sent to udp direct socket stream.",
16586
+ "experimental": true,
16587
+ "parameters": [
16588
+ {
16589
+ "name": "identifier",
16590
+ "$ref": "RequestId"
16591
+ },
16592
+ {
16593
+ "name": "message",
16594
+ "$ref": "DirectUDPMessage"
16595
+ },
16596
+ {
16597
+ "name": "timestamp",
16598
+ "$ref": "MonotonicTime"
16599
+ }
16600
+ ]
16601
+ },
16602
+ {
16603
+ "name": "directUDPSocketChunkReceived",
16604
+ "description": "Fired when message is received from udp direct socket stream.",
16605
+ "experimental": true,
16606
+ "parameters": [
16607
+ {
16608
+ "name": "identifier",
16609
+ "$ref": "RequestId"
16610
+ },
16611
+ {
16612
+ "name": "message",
16613
+ "$ref": "DirectUDPMessage"
16614
+ },
16615
+ {
16616
+ "name": "timestamp",
16617
+ "$ref": "MonotonicTime"
16618
+ }
16619
+ ]
16620
+ },
16433
16621
  {
16434
16622
  "name": "requestWillBeSentExtraInfo",
16435
16623
  "description": "Fired when additional information about a requestWillBeSent event is available from the\nnetwork stack. Not every requestWillBeSent event will have an additional\nrequestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent\nor requestWillBeSentExtraInfo will be fired first for the same request.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1454823",
3
+ "version": "0.0.1456087",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -7018,6 +7018,8 @@ domain Network
7018
7018
  experimental optional integer maxResourceBufferSize
7019
7019
  # Longest post body size (in bytes) that would be included in requestWillBeSent notification
7020
7020
  optional integer maxPostDataSize
7021
+ # Whether DirectSocket chunk send/receive events should be reported.
7022
+ experimental optional boolean reportDirectSocketTraffic
7021
7023
 
7022
7024
  # Returns all browser cookies. Depending on the backend support, will return detailed cookie
7023
7025
  # information in the `cookies` field.
@@ -7549,18 +7551,80 @@ domain Network
7549
7551
  binary data
7550
7552
  MonotonicTime timestamp
7551
7553
 
7552
- # Fired when there is an error
7553
- # when writing to tcp direct socket stream.
7554
- # For example, if user writes illegal type like string
7555
- # instead of ArrayBuffer or ArrayBufferView.
7556
- # There's no reporting for reading, because
7557
- # we cannot know errors on the other side.
7558
- experimental event directTCPSocketChunkError
7554
+ experimental type DirectUDPSocketOptions extends object
7555
+ properties
7556
+ optional string remoteAddr
7557
+ # Unsigned int 16.
7558
+ optional integer remotePort
7559
+
7560
+ optional string localAddr
7561
+ # Unsigned int 16.
7562
+ optional integer localPort
7563
+
7564
+ optional DirectSocketDnsQueryType dnsQueryType
7565
+
7566
+ # Expected to be unsigned integer.
7567
+ optional number sendBufferSize
7568
+ # Expected to be unsigned integer.
7569
+ optional number receiveBufferSize
7570
+
7571
+
7572
+ # Fired upon direct_socket.UDPSocket creation.
7573
+ experimental event directUDPSocketCreated
7574
+ parameters
7575
+ RequestId identifier
7576
+ DirectUDPSocketOptions options
7577
+ MonotonicTime timestamp
7578
+ optional Initiator initiator
7579
+
7580
+ # Fired when direct_socket.UDPSocket connection is opened.
7581
+ experimental event directUDPSocketOpened
7582
+ parameters
7583
+ RequestId identifier
7584
+ string localAddr
7585
+ # Expected to be unsigned integer.
7586
+ integer localPort
7587
+ MonotonicTime timestamp
7588
+ optional string remoteAddr
7589
+ # Expected to be unsigned integer.
7590
+ optional integer remotePort
7591
+
7592
+ # Fired when direct_socket.UDPSocket is aborted.
7593
+ experimental event directUDPSocketAborted
7559
7594
  parameters
7560
7595
  RequestId identifier
7561
7596
  string errorMessage
7562
7597
  MonotonicTime timestamp
7563
7598
 
7599
+ # Fired when direct_socket.UDPSocket is closed.
7600
+ experimental event directUDPSocketClosed
7601
+ parameters
7602
+ RequestId identifier
7603
+ MonotonicTime timestamp
7604
+
7605
+ experimental type DirectUDPMessage extends object
7606
+ properties
7607
+ binary data
7608
+ # Null for connected mode.
7609
+ optional string remoteAddr
7610
+ # Null for connected mode.
7611
+ # Expected to be unsigned integer.
7612
+ optional integer remotePort
7613
+
7614
+ # Fired when message is sent to udp direct socket stream.
7615
+ experimental event directUDPSocketChunkSent
7616
+ parameters
7617
+ RequestId identifier
7618
+ DirectUDPMessage message
7619
+ MonotonicTime timestamp
7620
+
7621
+ # Fired when message is received from udp direct socket stream.
7622
+ experimental event directUDPSocketChunkReceived
7623
+ parameters
7624
+ RequestId identifier
7625
+ DirectUDPMessage message
7626
+ MonotonicTime timestamp
7627
+
7564
7628
  experimental type PrivateNetworkRequestPolicy extends string
7565
7629
  enum
7566
7630
  Allow
@@ -376,14 +376,29 @@ export namespace ProtocolMapping {
376
376
  */
377
377
  'Network.directTCPSocketChunkReceived': [Protocol.Network.DirectTCPSocketChunkReceivedEvent];
378
378
  /**
379
- * Fired when there is an error
380
- * when writing to tcp direct socket stream.
381
- * For example, if user writes illegal type like string
382
- * instead of ArrayBuffer or ArrayBufferView.
383
- * There's no reporting for reading, because
384
- * we cannot know errors on the other side.
385
- */
386
- 'Network.directTCPSocketChunkError': [Protocol.Network.DirectTCPSocketChunkErrorEvent];
379
+ * Fired upon direct_socket.UDPSocket creation.
380
+ */
381
+ 'Network.directUDPSocketCreated': [Protocol.Network.DirectUDPSocketCreatedEvent];
382
+ /**
383
+ * Fired when direct_socket.UDPSocket connection is opened.
384
+ */
385
+ 'Network.directUDPSocketOpened': [Protocol.Network.DirectUDPSocketOpenedEvent];
386
+ /**
387
+ * Fired when direct_socket.UDPSocket is aborted.
388
+ */
389
+ 'Network.directUDPSocketAborted': [Protocol.Network.DirectUDPSocketAbortedEvent];
390
+ /**
391
+ * Fired when direct_socket.UDPSocket is closed.
392
+ */
393
+ 'Network.directUDPSocketClosed': [Protocol.Network.DirectUDPSocketClosedEvent];
394
+ /**
395
+ * Fired when message is sent to udp direct socket stream.
396
+ */
397
+ 'Network.directUDPSocketChunkSent': [Protocol.Network.DirectUDPSocketChunkSentEvent];
398
+ /**
399
+ * Fired when message is received from udp direct socket stream.
400
+ */
401
+ 'Network.directUDPSocketChunkReceived': [Protocol.Network.DirectUDPSocketChunkReceivedEvent];
387
402
  /**
388
403
  * Fired when additional information about a requestWillBeSent event is available from the
389
404
  * network stack. Not every requestWillBeSent event will have an additional
@@ -2748,14 +2748,34 @@ export namespace ProtocolProxyApi {
2748
2748
  on(event: 'directTCPSocketChunkReceived', listener: (params: Protocol.Network.DirectTCPSocketChunkReceivedEvent) => void): void;
2749
2749
 
2750
2750
  /**
2751
- * Fired when there is an error
2752
- * when writing to tcp direct socket stream.
2753
- * For example, if user writes illegal type like string
2754
- * instead of ArrayBuffer or ArrayBufferView.
2755
- * There's no reporting for reading, because
2756
- * we cannot know errors on the other side.
2757
- */
2758
- on(event: 'directTCPSocketChunkError', listener: (params: Protocol.Network.DirectTCPSocketChunkErrorEvent) => void): void;
2751
+ * Fired upon direct_socket.UDPSocket creation.
2752
+ */
2753
+ on(event: 'directUDPSocketCreated', listener: (params: Protocol.Network.DirectUDPSocketCreatedEvent) => void): void;
2754
+
2755
+ /**
2756
+ * Fired when direct_socket.UDPSocket connection is opened.
2757
+ */
2758
+ on(event: 'directUDPSocketOpened', listener: (params: Protocol.Network.DirectUDPSocketOpenedEvent) => void): void;
2759
+
2760
+ /**
2761
+ * Fired when direct_socket.UDPSocket is aborted.
2762
+ */
2763
+ on(event: 'directUDPSocketAborted', listener: (params: Protocol.Network.DirectUDPSocketAbortedEvent) => void): void;
2764
+
2765
+ /**
2766
+ * Fired when direct_socket.UDPSocket is closed.
2767
+ */
2768
+ on(event: 'directUDPSocketClosed', listener: (params: Protocol.Network.DirectUDPSocketClosedEvent) => void): void;
2769
+
2770
+ /**
2771
+ * Fired when message is sent to udp direct socket stream.
2772
+ */
2773
+ on(event: 'directUDPSocketChunkSent', listener: (params: Protocol.Network.DirectUDPSocketChunkSentEvent) => void): void;
2774
+
2775
+ /**
2776
+ * Fired when message is received from udp direct socket stream.
2777
+ */
2778
+ on(event: 'directUDPSocketChunkReceived', listener: (params: Protocol.Network.DirectUDPSocketChunkReceivedEvent) => void): void;
2759
2779
 
2760
2780
  /**
2761
2781
  * Fired when additional information about a requestWillBeSent event is available from the
@@ -2940,16 +2940,46 @@ export namespace ProtocolTestsProxyApi {
2940
2940
  onceDirectTCPSocketChunkReceived(eventMatcher?: (event: { params: Protocol.Network.DirectTCPSocketChunkReceivedEvent }) => boolean): Promise<{ params: Protocol.Network.DirectTCPSocketChunkReceivedEvent }>;
2941
2941
 
2942
2942
  /**
2943
- * Fired when there is an error
2944
- * when writing to tcp direct socket stream.
2945
- * For example, if user writes illegal type like string
2946
- * instead of ArrayBuffer or ArrayBufferView.
2947
- * There's no reporting for reading, because
2948
- * we cannot know errors on the other side.
2949
- */
2950
- onDirectTCPSocketChunkError(listener: (event: { params: Protocol.Network.DirectTCPSocketChunkErrorEvent }) => void): void;
2951
- offDirectTCPSocketChunkError(listener: (event: { params: Protocol.Network.DirectTCPSocketChunkErrorEvent }) => void): void;
2952
- onceDirectTCPSocketChunkError(eventMatcher?: (event: { params: Protocol.Network.DirectTCPSocketChunkErrorEvent }) => boolean): Promise<{ params: Protocol.Network.DirectTCPSocketChunkErrorEvent }>;
2943
+ * Fired upon direct_socket.UDPSocket creation.
2944
+ */
2945
+ onDirectUDPSocketCreated(listener: (event: { params: Protocol.Network.DirectUDPSocketCreatedEvent }) => void): void;
2946
+ offDirectUDPSocketCreated(listener: (event: { params: Protocol.Network.DirectUDPSocketCreatedEvent }) => void): void;
2947
+ onceDirectUDPSocketCreated(eventMatcher?: (event: { params: Protocol.Network.DirectUDPSocketCreatedEvent }) => boolean): Promise<{ params: Protocol.Network.DirectUDPSocketCreatedEvent }>;
2948
+
2949
+ /**
2950
+ * Fired when direct_socket.UDPSocket connection is opened.
2951
+ */
2952
+ onDirectUDPSocketOpened(listener: (event: { params: Protocol.Network.DirectUDPSocketOpenedEvent }) => void): void;
2953
+ offDirectUDPSocketOpened(listener: (event: { params: Protocol.Network.DirectUDPSocketOpenedEvent }) => void): void;
2954
+ onceDirectUDPSocketOpened(eventMatcher?: (event: { params: Protocol.Network.DirectUDPSocketOpenedEvent }) => boolean): Promise<{ params: Protocol.Network.DirectUDPSocketOpenedEvent }>;
2955
+
2956
+ /**
2957
+ * Fired when direct_socket.UDPSocket is aborted.
2958
+ */
2959
+ onDirectUDPSocketAborted(listener: (event: { params: Protocol.Network.DirectUDPSocketAbortedEvent }) => void): void;
2960
+ offDirectUDPSocketAborted(listener: (event: { params: Protocol.Network.DirectUDPSocketAbortedEvent }) => void): void;
2961
+ onceDirectUDPSocketAborted(eventMatcher?: (event: { params: Protocol.Network.DirectUDPSocketAbortedEvent }) => boolean): Promise<{ params: Protocol.Network.DirectUDPSocketAbortedEvent }>;
2962
+
2963
+ /**
2964
+ * Fired when direct_socket.UDPSocket is closed.
2965
+ */
2966
+ onDirectUDPSocketClosed(listener: (event: { params: Protocol.Network.DirectUDPSocketClosedEvent }) => void): void;
2967
+ offDirectUDPSocketClosed(listener: (event: { params: Protocol.Network.DirectUDPSocketClosedEvent }) => void): void;
2968
+ onceDirectUDPSocketClosed(eventMatcher?: (event: { params: Protocol.Network.DirectUDPSocketClosedEvent }) => boolean): Promise<{ params: Protocol.Network.DirectUDPSocketClosedEvent }>;
2969
+
2970
+ /**
2971
+ * Fired when message is sent to udp direct socket stream.
2972
+ */
2973
+ onDirectUDPSocketChunkSent(listener: (event: { params: Protocol.Network.DirectUDPSocketChunkSentEvent }) => void): void;
2974
+ offDirectUDPSocketChunkSent(listener: (event: { params: Protocol.Network.DirectUDPSocketChunkSentEvent }) => void): void;
2975
+ onceDirectUDPSocketChunkSent(eventMatcher?: (event: { params: Protocol.Network.DirectUDPSocketChunkSentEvent }) => boolean): Promise<{ params: Protocol.Network.DirectUDPSocketChunkSentEvent }>;
2976
+
2977
+ /**
2978
+ * Fired when message is received from udp direct socket stream.
2979
+ */
2980
+ onDirectUDPSocketChunkReceived(listener: (event: { params: Protocol.Network.DirectUDPSocketChunkReceivedEvent }) => void): void;
2981
+ offDirectUDPSocketChunkReceived(listener: (event: { params: Protocol.Network.DirectUDPSocketChunkReceivedEvent }) => void): void;
2982
+ onceDirectUDPSocketChunkReceived(eventMatcher?: (event: { params: Protocol.Network.DirectUDPSocketChunkReceivedEvent }) => boolean): Promise<{ params: Protocol.Network.DirectUDPSocketChunkReceivedEvent }>;
2953
2983
 
2954
2984
  /**
2955
2985
  * Fired when additional information about a requestWillBeSent event is available from the
@@ -11715,6 +11715,41 @@ export namespace Protocol {
11715
11715
  dnsQueryType?: DirectSocketDnsQueryType;
11716
11716
  }
11717
11717
 
11718
+ export interface DirectUDPSocketOptions {
11719
+ remoteAddr?: string;
11720
+ /**
11721
+ * Unsigned int 16.
11722
+ */
11723
+ remotePort?: integer;
11724
+ localAddr?: string;
11725
+ /**
11726
+ * Unsigned int 16.
11727
+ */
11728
+ localPort?: integer;
11729
+ dnsQueryType?: DirectSocketDnsQueryType;
11730
+ /**
11731
+ * Expected to be unsigned integer.
11732
+ */
11733
+ sendBufferSize?: number;
11734
+ /**
11735
+ * Expected to be unsigned integer.
11736
+ */
11737
+ receiveBufferSize?: number;
11738
+ }
11739
+
11740
+ export interface DirectUDPMessage {
11741
+ data: string;
11742
+ /**
11743
+ * Null for connected mode.
11744
+ */
11745
+ remoteAddr?: string;
11746
+ /**
11747
+ * Null for connected mode.
11748
+ * Expected to be unsigned integer.
11749
+ */
11750
+ remotePort?: integer;
11751
+ }
11752
+
11718
11753
  export type PrivateNetworkRequestPolicy = ('Allow' | 'BlockFromInsecureToMorePrivate' | 'WarnFromInsecureToMorePrivate' | 'PreflightBlock' | 'PreflightWarn' | 'PermissionBlock' | 'PermissionWarn');
11719
11754
 
11720
11755
  export type IPAddressSpace = ('Local' | 'Private' | 'Public' | 'Unknown');
@@ -11986,6 +12021,10 @@ export namespace Protocol {
11986
12021
  * Longest post body size (in bytes) that would be included in requestWillBeSent notification
11987
12022
  */
11988
12023
  maxPostDataSize?: integer;
12024
+ /**
12025
+ * Whether DirectSocket chunk send/receive events should be reported.
12026
+ */
12027
+ reportDirectSocketTraffic?: boolean;
11989
12028
  }
11990
12029
 
11991
12030
  export interface GetAllCookiesResponse {
@@ -12861,19 +12900,68 @@ export namespace Protocol {
12861
12900
  }
12862
12901
 
12863
12902
  /**
12864
- * Fired when there is an error
12865
- * when writing to tcp direct socket stream.
12866
- * For example, if user writes illegal type like string
12867
- * instead of ArrayBuffer or ArrayBufferView.
12868
- * There's no reporting for reading, because
12869
- * we cannot know errors on the other side.
12903
+ * Fired upon direct_socket.UDPSocket creation.
12870
12904
  */
12871
- export interface DirectTCPSocketChunkErrorEvent {
12905
+ export interface DirectUDPSocketCreatedEvent {
12906
+ identifier: RequestId;
12907
+ options: DirectUDPSocketOptions;
12908
+ timestamp: MonotonicTime;
12909
+ initiator?: Initiator;
12910
+ }
12911
+
12912
+ /**
12913
+ * Fired when direct_socket.UDPSocket connection is opened.
12914
+ */
12915
+ export interface DirectUDPSocketOpenedEvent {
12916
+ identifier: RequestId;
12917
+ localAddr: string;
12918
+ /**
12919
+ * Expected to be unsigned integer.
12920
+ */
12921
+ localPort: integer;
12922
+ timestamp: MonotonicTime;
12923
+ remoteAddr?: string;
12924
+ /**
12925
+ * Expected to be unsigned integer.
12926
+ */
12927
+ remotePort?: integer;
12928
+ }
12929
+
12930
+ /**
12931
+ * Fired when direct_socket.UDPSocket is aborted.
12932
+ */
12933
+ export interface DirectUDPSocketAbortedEvent {
12872
12934
  identifier: RequestId;
12873
12935
  errorMessage: string;
12874
12936
  timestamp: MonotonicTime;
12875
12937
  }
12876
12938
 
12939
+ /**
12940
+ * Fired when direct_socket.UDPSocket is closed.
12941
+ */
12942
+ export interface DirectUDPSocketClosedEvent {
12943
+ identifier: RequestId;
12944
+ timestamp: MonotonicTime;
12945
+ }
12946
+
12947
+ /**
12948
+ * Fired when message is sent to udp direct socket stream.
12949
+ */
12950
+ export interface DirectUDPSocketChunkSentEvent {
12951
+ identifier: RequestId;
12952
+ message: DirectUDPMessage;
12953
+ timestamp: MonotonicTime;
12954
+ }
12955
+
12956
+ /**
12957
+ * Fired when message is received from udp direct socket stream.
12958
+ */
12959
+ export interface DirectUDPSocketChunkReceivedEvent {
12960
+ identifier: RequestId;
12961
+ message: DirectUDPMessage;
12962
+ timestamp: MonotonicTime;
12963
+ }
12964
+
12877
12965
  /**
12878
12966
  * Fired when additional information about a requestWillBeSent event is available from the
12879
12967
  * network stack. Not every requestWillBeSent event will have an additional