← Volver al índice de módulos

nghttp2

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

Descripción general

This module implements an embedded HTTP/2 server using nghttpd2 library.

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

Parámetros de configuración

ParámetroTipoDescripción
listen_addr str 3.2. listen_port (str) 3.3. event_callback (str)
listen_port str 3.3. event_callback (str)
event_callback str 3.1. listen_addr (str)
listen_addr str IPv4 address to listen for HTTP2 connection. If not set, then it listens on all local addresses (port has to be specified by listen_port parameter).
listen_port str Port or service name to listen for HTTP2 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[nghttp2:request] block.

Funciones exportadas

nghttp2_reply(code, body)

4.2. nghttp2_reply_header(name, value)

nghttp2_reply_header(name, value)

4.1. nghttp2_reply(code, body)

nghttp2_reply(code, body)

Send back a reply with body. The body can be empty string. Both parameters can contain variables.

nghttp2_reply_header(name, value)

Set a header to be added to reply. There can be up to 15 headers.

Autores y contribuidores

Daniel-Constantin Mierla <miconda@gmail.com>

Copyright © 2024 asipto.com

Módulos relacionados

auth_web3 auth_xkeys avp avpops benchmark blst call_control call_obj