![]() Util.error Library implementing an error or exception object. #Devdocs unix codeUtil.envload Lua version agnostic library for loading code into an environment Util.encodings Encode/decode data using algorithms such as base64, IDNA, stringprep Util.dns Library for decoding DNS records pendencies Utility containing Prosodys dependencies Util.dbuffer Dynamic string buffer library Util.datetime Retrieve the current or specified time in various XMPP formats Util.datamapper Transform data to and from XML using a schema Util.datamanager Allows persistent storage and retrieval of data Util.dataforms Utility for handling XEP-0004: Data Forms Util.crand Binding to native platform RNG Util.caps Utility for calculating XEP-0115: Entity Capabilities hashes Util.cache Ordered key-value least recently used pairs Util.bitcompat Compatibility module for bitwise operations Util.bit53 Compatibility module for bitwise operations (Lua 5.3+) Util.async Library to provide support around coroutine-based non-blocking functions Util.array Convenience methods for working with Lua tables as arrays Util.argparse Parse command line arguments Util.adminstream Module to manage a local unix domain socket for admin functionality util.adhoc Convenience library for writing Ad-hoc commands They help with common tasks, and provide useful data structures. These modules are designed to provide a unified API for both core and module developers. Net.resolvers Implementations of connection strategies Network and socket handling net.adns asynchronous DNS resolution core.certmanager Manages TLS configuration, certificates etc.Ĭore.configmanager Handles reading, parsing and accessing the configuration.Ĭore.hostmanager Manages initialization of virtual hosts.Ĭore.loggingmanager Deals with setting up log output.Ĭore.moduleapi Implements the Module API.Ĭore.modulemanager Handles loading, un- and reloading of plugins.Ĭore.portmanager Handles setting up TCP port listenersĬore.rostermanager API for managing users contact lists.Ĭore.s2smanager Manages server-to-server connections.Ĭore.sessionmanager Managing user sessions.Ĭore.stanza_router Routes stanzas to the right host and fires the correct events.Ĭore.statsmanager Statistics collection and reporting API.Ĭore.storagemanager Manages on-demand loading of storage plugins and the storage API.Ĭore.usermanager Core API for user account management The Core is a set of modules providing core functionality for the server. Spec/ Tests using the Busted framework Core Plugins/ Almost all functionality is in plugins tools/ Tools for migrating data Net/ Network and socket handling util/ Utilities util-src/ More utilities, but implemented in C Most of the code resides in a few different directories. If after reading this you are still clueless, or can’t find what you were looking for, you are strongly encouraged to contact us! We also welcome anyone wanting to contribute to the project itself or the documentation. We also have documentation on the various common data structures that Prosody uses internally. And have a look at the Module API.Īlso useful to you, whether writing a module or working on core Prosody code, will be our Utility APIs. To get started with writing a module, begin with our introduction to developing Prosody modules. Welcome to the prime page for developer documentation on Prosody. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |