Lantronix Developer Forums  

Go Back   Lantronix Developer Forums > Evolution SDK > API

API Use this forum for questions and comments regarding specific functions in the Evolution SDK API.

Thread Tools Search this Thread Display Modes
Old 04-08-2017, 11:45 PM
nbrownett nbrownett is offline
Join Date: Mar 2017
Posts: 10
Default HttpGetHeaders

How does one retrieve the number of headers returned from a call to HttpGetHeaders?

This function is unusable with out this information.

Using EVO XPort-Port SDK
Reply With Quote
Old 04-09-2017, 11:42 AM
garry0427 garry0427 is offline
Join Date: Apr 2008
Posts: 157

Doesn't seem to indicate the count, or and end of the array.
char * HttpGetHeader(struct http_client * pClient, char *pHeader);
contentType = HttpGetHeader(httpClient, "Content-Type");
Reply With Quote
Old 04-11-2017, 06:11 PM
nbrownett nbrownett is offline
Join Date: Mar 2017
Posts: 10

Yes HttpGetHeader works great if I know the specific header(s) I'm looking for.

In the current case we need to store all the headers received, so that we can return those same headers in the send, hence we don't know the header names.
Reply With Quote

httpgetheaders, sdk, xport-pro

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:50 AM.

Copyright Lantronix, Inc. 2013. All rights reserved.
Powered by vBulletin® Copyright ©2000 - 2017, vBulletin Solutions, Inc.