[#SSL_client_hello_get0_compression_methods]
= SSL&lowbar;client&lowbar;hello&lowbar;get0&lowbar;compression&lowbar;methods
:mrdocs:

Return the raw compression&lowbar;methods field from a parsed ClientHello&period;

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
size&lowbar;t
SSL&lowbar;client&lowbar;hello&lowbar;get0&lowbar;compression&lowbar;methods(
    xref:SSL.adoc[SSL]* s,
    unsigned char const** out);
----

== Return Value

Length of the compression&lowbar;methods field in bytes, or 0 if unavailable&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| Server SSL connection inside a ClientHello callback (or with a parsed ClientHello)&period;
| *out*
| If non&hyphen;NULL, set to point at the compression methods bytes&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
