Fork me on GitHub
Data Fields
janus_request Struct Reference

Helper to address requests and their sources (e.g., a specific HTTP connection, websocket, RabbitMQ or others) More...

#include <janus.h>

Collaboration diagram for janus_request:
Collaboration graph
[legend]

Data Fields

janus_transporttransport
 Pointer to the transport plugin. More...
 
janus_transport_sessioninstance
 Pointer to the transport-provided session instance. More...
 
void * request_id
 Opaque pointer to the request ID, if available. More...
 
gboolean admin
 Whether this is a Janus API or admin API request. More...
 
json_tmessage
 Pointer to the original request, if available. More...
 
volatile gint destroyed
 Atomic flag to check if this instance has been destroyed. More...
 
janus_refcount ref
 Reference counter for this instance. More...
 

Detailed Description

Helper to address requests and their sources (e.g., a specific HTTP connection, websocket, RabbitMQ or others)

Field Documentation

◆ admin

gboolean janus_request::admin

Whether this is a Janus API or admin API request.

◆ destroyed

volatile gint janus_request::destroyed

Atomic flag to check if this instance has been destroyed.

◆ instance

janus_transport_session* janus_request::instance

Pointer to the transport-provided session instance.

◆ message

json_t* janus_request::message

Pointer to the original request, if available.

◆ ref

janus_refcount janus_request::ref

Reference counter for this instance.

◆ request_id

void* janus_request::request_id

Opaque pointer to the request ID, if available.

◆ transport

janus_transport* janus_request::transport

Pointer to the transport plugin.


The documentation for this struct was generated from the following file: