zlib Gateway compression was introduced on the dev branch not too long ago. Library consumers do not yet have a straightforward option for selecting the newly added GatewayOptions, which describe the wanted set of encoding and compression capabilities for interacting with the Gateway of an instance. This PR modifies functions which yield a new Instance object by adding a options field, which allows to supply custom GatewayOptions if wanted, defaulting to GatewayOptions::default() if none are supplied.
zlib Gateway compression was introduced on the dev branch not too long ago. Library consumers do not yet have a straightforward option for selecting the newly added
GatewayOptions
, which describe the wanted set of encoding and compression capabilities for interacting with the Gateway of an instance. This PR modifies functions which yield a new Instance object by adding aoptions
field, which allows to supply customGatewayOptions
if wanted, defaulting toGatewayOptions::default()
if none are supplied.