Amazon Kinesis Producer C SDK
RequestInfo.c File Reference
#include "Include_i.h"
Include dependency graph for RequestInfo.c:

Macros

#define LOG_CLASS   "RequestInfo"
 

Functions

STATUS createRequestInfo (PCHAR url, PCHAR body, PCHAR region, PCHAR certPath, PCHAR sslCertPath, PCHAR sslPrivateKeyPath, SSL_CERTIFICATE_TYPE certType, PCHAR userAgent, UINT64 connectionTimeout, UINT64 completionTimeout, UINT64 lowSpeedLimit, UINT64 lowSpeedTimeLimit, PAwsCredentials pAwsCredentials, PRequestInfo *ppRequestInfo)
 Creates a Request Info object. More...
 
STATUS freeRequestInfo (PRequestInfo *ppRequestInfo)
 Frees a Request Info object. More...
 
STATUS requestRequiresSecureConnection (PCHAR pUrl, PBOOL pSecure)
 Checks whether the request URL requires a secure connection. More...
 
STATUS createRequestHeader (PCHAR headerName, UINT32 headerNameLen, PCHAR headerValue, UINT32 headerValueLen, PRequestHeader *ppHeader)
 Creates a request header. More...
 
STATUS setRequestHeader (PRequestInfo pRequestInfo, PCHAR headerName, UINT32 headerNameLen, PCHAR headerValue, UINT32 headerValueLen)
 Sets a header in the request info. More...
 
STATUS removeRequestHeader (PRequestInfo pRequestInfo, PCHAR headerName)
 Removes a header from the headers list if exists. More...
 
STATUS removeRequestHeaders (PRequestInfo pRequestInfo)
 Removes and deletes all headers. More...
 
SERVICE_CALL_RESULT getServiceCallResultFromHttpStatus (UINT32 httpStatus)
 Convenience method to convert HTTP statuses to SERVICE_CALL_RESULT status. More...
 
STATUS releaseCallInfo (PCallInfo pCallInfo)
 Releases the CallInfo allocations. More...
 

Macro Definition Documentation

◆ LOG_CLASS

#define LOG_CLASS   "RequestInfo"