Ziti C SDK
Loading...
Searching...
No Matches
ziti_src.h File Reference

header file for ziti_src, which can be used as a source link in um_http requests More...

#include <tlsuv/http.h>
#include <ziti/ziti.h>

Go to the source code of this file.

Functions

int ziti_src_init (uv_loop_t *l, tlsuv_src_t *zl, const char *svc, ziti_context ztx)
 Initialize a um_http_src_t handle.
 

Detailed Description

header file for ziti_src, which can be used as a source link in um_http requests

See also
programs/sample_http_link.c

Function Documentation

◆ ziti_src_init()

int ziti_src_init ( uv_loop_t *  l,
tlsuv_src_t *  zl,
const char *  svc,
ziti_context  ztx 
)

Initialize a um_http_src_t handle.

Parameters
lthe uv loop
zlthe um_http_src_t to initialize
svcthe name of the service to be dialed
ztxthe initialized ziti_context