Loading...
Select Version
openUTM provides a number of functions to read and write segments of an HTTP message from an HTTP exit or a program unit. These functions can be used to control the program flow and transfer segments of the response message to UTM.
The following list provides an overview. The functions are provided for the C / C++ programming language.
kcHttpGetHeaderByIndex | returns name and value of the HTTP header field with the specified index |
kcHttpGetHeaderByName | returns the value of HTTP header field with the specified HTTP header name |
kcHttpGetHeaderCount | returns the number of HTTP header fields of the HTTP request that can be read by the program |
kcHttpGetMethod | returns the HTTP method of the HTTP request |
kcHttpGetMputMsg | returns the MPUT message created by the program unit |
kcHttpGetPath | returns the HTTP path of the HTTP request normalized |
kcHttpGetQuery | returns the HTTP query of the HTTP request normalized |
kcHttpGetRc2String | Help function to convert a function result of type enum into a printable null-terminated string |
kcHttpGetReqMsgBody | returns the message body of the HTTP request |
kcHttpGetScheme | returns the scheme of the HTTP request |
kcHttpGetVersion | returns the HTTP version of the HTTP request |
kcHttpPercentDecode | decodes the percent-encoded representation of a character |
kcHttpPutMgetMsg | passes a message for the program unit which can be read with MGET |
kcHttpPutStatus | passes an HTTP status code for the HTTP response |
kcHttpPutHeader | passes an HTTP header field for the HTTP response |
kcHttpPutRspMsgBody | passes a message for the message body of the HTTP response |
You will find detailed information about the programming interface UTM-HTTP in the openUTM manual "Programming applications with KDCS". |