[#COMP_CTX_get_method]
= COMP&lowbar;CTX&lowbar;get&lowbar;method
:mrdocs:

Return the compression method associated with a context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:COMP_METHOD.adoc[COMP&lowbar;METHOD] const*
COMP&lowbar;CTX&lowbar;get&lowbar;method(xref:COMP_CTX.adoc[COMP&lowbar;CTX] const* ctx);
----

== Return Value

The COMP&lowbar;METHOD used to create `ctx&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Compression context to query&period;
|===


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