Avis Client Library: ElvinURI Struct Reference

# ElvinURI Struct Reference

`#include <avis/elvin_uri.h>`

## Detailed Description

A URI referring to an Elvin router endpoint.

See also:
  elvin_uri_from_string()

  elvin_open_uri().

## Data Fields
char * | host
uint16_t | port
uint16_t | version_major
uint16_t | version_minor
Attributes * | options
| Connection options in URI.
char ** | protocol
| The 3-element protocol stack array.

## Field Documentation

char* ElvinURI::host

uint16_t ElvinURI::port

uint16_t ElvinURI::version_major

uint16_t ElvinURI::version_minor

Attributes* ElvinURI::options

Connection options in URI.

e.g. "elvin://host?name1=value1;name2=value2". These are currently not used by the client.

char** ElvinURI::protocol

The 3-element protocol stack array.

e.g. "elvin:/tcp,none,ssl/host" gives protocol [0] == "tcp", protocol [1] == "none", protocol [2] == "ssl". Can also use "secure" in place of "tcp,none,ssl".

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

- avis/elvin_uri.h