TsgcHTTP3Client › Properties › UserAgent
Value sent in the user-agent header of every HTTP/3 request.
property UserAgent: string read FUserAgent write FUserAgent;
string
The sgcWebSockets user-agent string, in the form Mozilla/5.0 (sgcWebSockets <version>).
The value is sent as the user-agent header of every request the client issues, including the Extended CONNECT and WebTransport handshakes. Set it to identify your application to the server.
Assigning an empty string suppresses the header. To add or rewrite any other header, handle OnHTTP3BeforeRequest.
oClient.UserAgent := 'MyApp/1.0';