logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

zhttp_server_options - Class for class description

Authors

       The czmq manual was written by the authors in the AUTHORS file.

Description

       zhttp_server_options -

       Please add @discuss section in ./../src/zhttp_server_options.c.

Example

Fromzhttp_server_options_testmethod.

           Please add '@selftest' section in './../src/zhttp_server_options.c'.

Name

       zhttp_server_options - Class for class description

Notes

        1. zeromq-dev@lists.zeromq.orgmailto:zeromq-dev@lists.zeromq.org

CZMQ 4.2.1                                         05/24/2024                            ZHTTP_SERVER_OPTIONS(3)

Resources

       Main web site:

       Report bugs to the email <zeromq-dev@lists.zeromq.org[1]>

Synopsis

       //  This is a draft class, and may change without notice. It is disabled in
       //  stable builds by default. If you use this in applications, please ask
       //  for it to be pushed to stable state. Use --enable-drafts to enable.
       #ifdef CZMQ_BUILD_DRAFT_API
       //  *** Draft method, for development use, may change without warning ***
       //  Create a new zhttp_server_options.
       CZMQ_EXPORT zhttp_server_options_t *
           zhttp_server_options_new (void);

       //  *** Draft method, for development use, may change without warning ***
       //  Create options from config tree.
       CZMQ_EXPORT zhttp_server_options_t *
           zhttp_server_options_from_config (zconfig_t *config);

       //  *** Draft method, for development use, may change without warning ***
       //  Destroy the zhttp_server_options.
       CZMQ_EXPORT void
           zhttp_server_options_destroy (zhttp_server_options_t **self_p);

       //  *** Draft method, for development use, may change without warning ***
       //  Get the server listening port.
       CZMQ_EXPORT int
           zhttp_server_options_port (zhttp_server_options_t *self);

       //  *** Draft method, for development use, may change without warning ***
       //  Set the server listening port
       CZMQ_EXPORT void
           zhttp_server_options_set_port (zhttp_server_options_t *self, int port);

       //  *** Draft method, for development use, may change without warning ***
       //  Get the address sockets should connect to in order to receive requests.
       CZMQ_EXPORT const char *
           zhttp_server_options_backend_address (zhttp_server_options_t *self);

       //  *** Draft method, for development use, may change without warning ***
       //  Set the address sockets should connect to in order to receive requests.
       CZMQ_EXPORT void
           zhttp_server_options_set_backend_address (zhttp_server_options_t *self, const char *address);

       //  *** Draft method, for development use, may change without warning ***
       //  Self test of this class.
       CZMQ_EXPORT void
           zhttp_server_options_test (bool verbose);

       #endif // CZMQ_BUILD_DRAFT_API
       Please add '@interface' section in './../src/zhttp_server_options.c'.

See Also