ZHTTP_SERVER_OPTIONS(3)

πŸ’– ZHTTP_SERVER_OPTIONS πŸ’–

okay so bestie, welcome to the zhttp_server_options page from the CZMQ Manual, section 3 🫢 this is the class-for-class-description situation, and yes it is a draft, we'll get to that, hold on πŸ’…


✨ NAME ✨

zhttp_server_options β€” Class for class description πŸŽ€


🌸 SYNOPSIS 🌸

no cap, this is a draft class, and it may change without notice. it's disabled in stable builds by default. so 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

and then, iconic behaviour honestly, the source literally says:

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

like okayyy we'll get there πŸ’…

⚠️ every single one of those methods is a draft method, for development use, may change without warning. not me warning you twice. it's giving unstable, fr fr. 🌈

πŸ¦‹ DESCRIPTION πŸ¦‹

zhttp_server_options β€” and that's it. that's the description. the file itself is asking for help:

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

so like, lowkey a blank canvas, highkey a vibe πŸŽ€


🌈 EXAMPLE 🌈

straight from the zhttp_server_options_test method, bestie:

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

that's the whole example. she's minimal, she's mysterious, she ate πŸ“


πŸ‘‘ AUTHORS πŸ‘‘

The czmq manual was written by the authors in the AUTHORS file. iconic of them, no notes πŸ’œ


🌸 RESOURCES 🌸

  • Main web site: (yes, it's blank in the original, we don't make the rules)
  • Report bugs to the email <zeromq-dev@lists.zeromq.org[1]>

Copyright (c) the Contributors as noted in the AUTHORS file. This file is part of CZMQ, the high-level C binding for 0MQ: http://czmq.zeromq.org. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. LICENSE included with the czmq distribution. πŸ’–


⭐ NOTES ⭐

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

and that's the whole page, bestie 🫢 this was CZMQ 4.2.1, dated 01/16/2026, and it lives at ZHTTP_SERVER_OPTIONS(3) in the CZMQ Manual. slay, go read the AUTHORS file, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from