← Volver al índice de módulos

microhttpd

This module implements an embedded HTTP server using libmicrohttpd.
🛠️ Utilidades y Varios Kamailio 6.1 6 parámetros 2 funciones

Descripción general

This module implements an embedded HTTP server using libmicrohttpd.

Documentación oficial: https://www.kamailio.org/docs/modules/stable/modules/microhttpd.html
Código fuente: https://github.com/kamailio/kamailio/tree/master/src/modules/microhttpd

Parámetros de configuración

ParámetroTipoDescripción
listen_addr int 3.2. listen_port (int) 3.3. event_callback (str)
listen_port int 3.3. event_callback (str)
event_callback str 3.1. listen_addr (int)
listen_addr int IPv4 address to listen for HTTP connection. If not set, then it listens on all local addresses (port has to be specified by listen_port parameter).
listen_port int Port to listen for HTTP connection.
event_callback str The name of the function in the kemi configuration file (embedded scripting language such as Lua, Python, ...) to be executed instead of event_route[microhttpd:request] block.

Funciones exportadas

mhttpd_reply(code, reason, ctype, body)

4.1. mhttpd_reply(code, reason, ctype, body)

mhttpd_reply(code, reason, ctype, body)

Send back a reply with content-type and body.

Autores y contribuidores

Daniel-Constantin Mierla <miconda@gmail.com>

Copyright © 2023 asipto.com

Módulos relacionados

auth_web3 auth_xkeys avp avpops benchmark blst call_control call_obj