axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danushka Menikkumbura <danus...@wso2.com>
Subject Re: Service client options to set custom HTTP headers
Date Fri, 29 Aug 2008 14:48:45 GMT

> But then the user need to create axis2_http_header_t instances. Can we 
> use an string key value pair and covert them to the header type 
> internally?
>
No he doesn't have to. The interface call accepts the name and the value 
and it in turn creates the header instance.

The interface call :
axis2_options_add_custom_http_header(
        axis2_options_t*    options,
        const axutil_env_t*    env,
        const axis2_char_t*    name,
        const axis2_char_t*    value);

Danushka

-- 
Danushka Menikkumbura
Technical Lead, WSO2 Inc.

blog : http://danushka-menikkumbura.blogspot.com/

http://wso2.com/ - The Open Source SOA Company



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message