diff --git a/u_parrots.go b/u_parrots.go index cfd78c4f..820d71d5 100644 --- a/u_parrots.go +++ b/u_parrots.go @@ -14,6 +14,13 @@ import ( "strconv" ) +// UTLSIdToSpec converts a ClientHelloID to a corresponding ClientHelloSpec. +// +// Exported internal function utlsIdToSpec per request. +func UTLSIdToSpec(id ClientHelloID) (ClientHelloSpec, error) { + return utlsIdToSpec(id) +} + func utlsIdToSpec(id ClientHelloID) (ClientHelloSpec, error) { switch id { case HelloChrome_58, HelloChrome_62: