Interfaces ¶ IWebSocketClient (Interface) Read (Method) Write (Method)
IWebSocketClient (ITF) ¶ INTERFACE IWebSocketClient Interface of the WebSocket client Methods: Read Write Structure: Read (Method) Write (Method)
Impl ¶ OAuth2ClientCredentials (FunctionBlock) ClientId (Property) ClientSecret (Property) Scope (Property) OAuth2RessourceOwnerCredentials (FunctionBlock) ClientId (Property) ClientSecret (Property) Password (Property) Scope (Property) Username (Property)
Interfaces ¶ IOAuth2ClientCredentials (Interface) IOAuth2Credentials (Interface) ClientId (Property) ClientSecret (Property) Scope (Property) IOAuth2RessourceOwnerCredentials (Interface) Password (Property) Username (Property)
Params ¶ Param (ParamList)
Param (PARAMS) ¶ HTTPClient parameters InOut: Scope Name Type Initial Comment Constant g_udiMaxRequestSize UDINT 20000 Maximum size of the http request in btyes g_udiMaxResponseSize UDINT 20000 Maximum size of the http response in bytes g_udiMaxHeaderSize UDINT 4000 Maximum size of the http header in bytes g_udiMaxOAuth2TokenSize UDINT 2048 Maximum size of the OAuth2 access and refresh token
Structs ¶ HttpResult (Struct) URL (Struct)
HttpResult (STRUCT) ¶ TYPE HttpResult : STRUCT The result of a http request InOut: Name Type Comment iStatus INT http status wsHeader WSTRING(g_udiMaxHeaderSize) http header as WSTRING wsContent WSTRING(g_udiMaxResponseSize) The result of the request as WSTRING sHeader STRING(g_udiMaxHeaderSize) http header as STRING sContent STRING(g_udiMaxResponseSize) The result of the request as STRING diContentLength DINT Count of bytes in sContent
URL (STRUCT) ¶ TYPE URL : STRUCT URL structure InOut: Name Type Comment sProtocol STRING(5) Protocol e.g. http, NOTE: ONLY HTTP IS SUPPORTED! sDomain STRING(255) The domain e.g. ‘twitter.api.com’ uiPort UINT Port of the server sPath STRING(1024) The path e.g. ‘/1.1/statuses/update.json’
Public ¶ Function Blocks BasicAuthWebClient (FunctionBlock) DigestAuthWebClient (FunctionBlock) mGetKeyValues (Method) OAuth1WebClient (FunctionBlock) OAuth2WebClient (FunctionBlock) ResetToken (Method) WebClient (FunctionBlock)