[#SSL_get_current_compression]
= SSL&lowbar;get&lowbar;current&lowbar;compression
:mrdocs:

Return the compression method negotiated for sending on a connection&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:COMP_METHOD.adoc[COMP&lowbar;METHOD] const*
SSL&lowbar;get&lowbar;current&lowbar;compression(xref:SSL.adoc[SSL] const* s);
----

== Return Value

COMP&lowbar;METHOD in use for compression, or NULL if compression is inactive &sol; unavailable&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| SSL connection to query&period;
|===


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