File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,11 @@ export const httpErrors: EndpointGroup = {
3838 name : 'Errors'
3939} ;
4040
41+ export const httpTlsMetadata : EndpointGroup = {
42+ id : 'tls-metadata' ,
43+ name : 'TLS Metadata'
44+ } ;
45+
4146// WebSocket endpoint groups
4247export const wsMessaging : EndpointGroup = {
4348 id : 'messaging' ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import {
1212} from 'read-tls-client-hello' ;
1313
1414import { HttpEndpoint } from '../http-index.js' ;
15+ import { httpTlsMetadata } from '../groups.js' ;
1516import { getClientHello } from '../../tls-client-hello.js' ;
1617
1718function annotateId ( id : number , table : Record < number , string | undefined > ) {
@@ -109,6 +110,7 @@ export const tlsClientHello: HttpEndpoint = {
109110 meta : {
110111 path : '/tls/client-hello' ,
111112 description : 'Returns the fully parsed TLS ClientHello. Requires HTTPS.' ,
112- examples : [ '/tls/client-hello' ]
113+ examples : [ '/tls/client-hello' ] ,
114+ group : httpTlsMetadata
113115 }
114116} ;
Original file line number Diff line number Diff line change 11import { HttpEndpoint } from '../http-index.js' ;
2+ import { httpTlsMetadata } from '../groups.js' ;
23import { getClientHello } from '../../tls-client-hello.js' ;
34
45export const tlsFingerprint : HttpEndpoint = {
@@ -27,6 +28,7 @@ export const tlsFingerprint: HttpEndpoint = {
2728 meta : {
2829 path : '/tls/fingerprint' ,
2930 description : 'Returns the TLS fingerprint (JA3 and JA4) of the client connection. Requires HTTPS.' ,
30- examples : [ '/tls/fingerprint' ]
31+ examples : [ '/tls/fingerprint' ] ,
32+ group : httpTlsMetadata
3133 }
3234} ;
You can’t perform that action at this time.
0 commit comments