|
|
Index Data > YAZ > YAZ User's Guide and Reference > HTTP YAZ only offers HTTP as transport carrier for SOAP, but it is relatively easy to change that.
The following definition of
#include <yaz/zgdu.h>
#define Z_GDU_Z3950 1
#define Z_GDU_HTTP_Request 2
#define Z_GDU_HTTP_Response 3
typedef struct {
int which;
union {
Z_APDU *z3950;
Z_HTTP_Request *HTTP_Request;
Z_HTTP_Response *HTTP_Response;
} u;
} Z_GDU ;
The corresponding Z_GDU encoder/decoder is |
|||
|
|
||||
| Copyright Index Data ApS 2008 | ||||