Module exmpp_client_compression

The module exmpp_client_compression implements the initiating entity side of Stream Compression (XEP-0138).

Authors: Jean-Sébastien Pédron (js.pedron@meetic-corp.com).

References

Description

The module exmpp_client_compression implements the initiating entity side of Stream Compression (XEP-0138).

Function Index

announced_methods/1Return the list of supported compression methods.
selected_method/1Prepare an request to select prefered compression method.

Function Details

announced_methods/1

announced_methods(Xmlel::Features_Announcement) -> Methods

throws {stream_compression, announced_methods, invalid_feature, Feature} | {stream_compression, announced_methods, invalid_method, El}

Return the list of supported compression methods.

selected_method/1

selected_method(Method) -> Compress

Prepare an request to select prefered compression method.


Generated by EDoc, Jan 21 2011, 01:43:54.