HTTP Services: Difference between revisions
No edit summary |
|||
Line 4: | Line 4: | ||
|- | |- | ||
! Command Header | ! Command Header | ||
! Available since system-version | |||
! Description | ! Description | ||
|- | |- | ||
| 0x00010044 | | 0x00010044 | ||
| | |||
| [[HTTPC:Initialize|Initialize]] | | [[HTTPC:Initialize|Initialize]] | ||
|- | |- | ||
| 0x00020082 | | 0x00020082 | ||
| | |||
| [[HTTPC:CreateContext|CreateContext]] | | [[HTTPC:CreateContext|CreateContext]] | ||
|- | |- | ||
| 0x00030040 | | 0x00030040 | ||
| | |||
| [[HTTPC:CloseContext|CloseContext]] | | [[HTTPC:CloseContext|CloseContext]] | ||
|- | |- | ||
| 0x00040040 | | 0x00040040 | ||
| | |||
| [[HTTPC:CancelConnection|CancelConnection]] | | [[HTTPC:CancelConnection|CancelConnection]] | ||
|- | |- | ||
| 0x00050040 | | 0x00050040 | ||
| | |||
| [[HTTPC:GetRequestState|GetRequestState]] | | [[HTTPC:GetRequestState|GetRequestState]] | ||
|- | |- | ||
| 0x00060040 | | 0x00060040 | ||
| | |||
| [[HTTPC:GetDownloadSizeState|GetDownloadSizeState]] | | [[HTTPC:GetDownloadSizeState|GetDownloadSizeState]] | ||
|- | |- | ||
| 0x00070040 | | 0x00070040 | ||
| | |||
| [[HTTPC:GetRequestError|GetRequestError]] | | [[HTTPC:GetRequestError|GetRequestError]] | ||
|- | |- | ||
| 0x00080042 | | 0x00080042 | ||
| | |||
| [[HTTPC:InitializeConnectionSession|InitializeConnectionSession]] | | [[HTTPC:InitializeConnectionSession|InitializeConnectionSession]] | ||
|- | |- | ||
| 0x00090040 | | 0x00090040 | ||
| | |||
| [[HTTPC:BeginRequest|BeginRequest]] | | [[HTTPC:BeginRequest|BeginRequest]] | ||
|- | |- | ||
| 0x000A0040 | | 0x000A0040 | ||
| | |||
| [[HTTPC:BeginRequestAsync|BeginRequestAsync]] | | [[HTTPC:BeginRequestAsync|BeginRequestAsync]] | ||
|- | |- | ||
| 0x000B0082 | | 0x000B0082 | ||
| | |||
| [[HTTPC:ReceiveData|ReceiveData]] | | [[HTTPC:ReceiveData|ReceiveData]] | ||
|- | |- | ||
| 0x000C0102 | | 0x000C0102 | ||
| | |||
| [[HTTPC:ReceiveDataTimeout|ReceiveDataTimeout]] | | [[HTTPC:ReceiveDataTimeout|ReceiveDataTimeout]] | ||
|- | |- | ||
| 0x000D0146 | | 0x000D0146 | ||
| | |||
| [[HTTPC:SetProxy|SetProxy]] | | [[HTTPC:SetProxy|SetProxy]] | ||
|- | |- | ||
| 0x000E0040 | | 0x000E0040 | ||
| | |||
| [[HTTPC:SetProxyDefault|SetProxyDefault]] | | [[HTTPC:SetProxyDefault|SetProxyDefault]] | ||
|- | |- | ||
| 0x000F00C4 | | 0x000F00C4 | ||
| | |||
| [[HTTPC:SetBasicAuthorization|SetBasicAuthorization]] | | [[HTTPC:SetBasicAuthorization|SetBasicAuthorization]] | ||
|- | |- | ||
| 0x00100080 | | 0x00100080 | ||
| | |||
| SetSocketBufferSize | | SetSocketBufferSize | ||
|- | |- | ||
| 0x001100C4 | | 0x001100C4 | ||
| | |||
| [[HTTPC:AddRequestHeader|AddRequestHeader]] | | [[HTTPC:AddRequestHeader|AddRequestHeader]] | ||
|- | |- | ||
| 0x001200C4 | | 0x001200C4 | ||
| | |||
| [[HTTPC:AddPostDataAscii|AddPostDataAscii]] | | [[HTTPC:AddPostDataAscii|AddPostDataAscii]] | ||
|- | |- | ||
| 0x001300C4 | | 0x001300C4 | ||
| | |||
| AddPostDataBinary | | AddPostDataBinary | ||
|- | |- | ||
| 0x00140082 | | 0x00140082 | ||
| | |||
| AddPostDataRaw | | AddPostDataRaw | ||
|- | |- | ||
| 0x00150080 | | 0x00150080 | ||
| | |||
| SetPostDataType(u8 enum) | | SetPostDataType(u8 enum) | ||
|- | |- | ||
| 0x001600C4 | | 0x001600C4 | ||
| | |||
| SendPostDataAscii | | SendPostDataAscii | ||
|- | |- | ||
| 0x00170144 | | 0x00170144 | ||
| | |||
| SendPostDataAsciiTimeout | | SendPostDataAsciiTimeout | ||
|- | |- | ||
| 0x001800C4 | | 0x001800C4 | ||
| | |||
| SendPostDataBinary | | SendPostDataBinary | ||
|- | |- | ||
| 0x00190144 | | 0x00190144 | ||
| | |||
| SendPostDataBinaryTimeout | | SendPostDataBinaryTimeout | ||
|- | |- | ||
| 0x001A0082 | | 0x001A0082 | ||
| | |||
| SendPostDataRaw | | SendPostDataRaw | ||
|- | |- | ||
| 0x001B0102 | | 0x001B0102 | ||
| | |||
| [[HTTPC:SendPOSTDataTimeout|SendPOSTDataRawTimeout]] | | [[HTTPC:SendPOSTDataTimeout|SendPOSTDataRawTimeout]] | ||
|- | |- | ||
| 0x001C0080 | | 0x001C0080 | ||
| | |||
| SetPostDataEncoding | | SetPostDataEncoding | ||
|- | |- | ||
| 0x001D0040 | | 0x001D0040 | ||
| | |||
| NotifyFinishSendPostData | | NotifyFinishSendPostData | ||
|- | |- | ||
| 0x001E00C4 | | 0x001E00C4 | ||
| | |||
| [[HTTPC:GetResponseHeader|GetResponseHeader]] | | [[HTTPC:GetResponseHeader|GetResponseHeader]] | ||
|- | |- | ||
| 0x001F0144 | | 0x001F0144 | ||
| | |||
| [[HTTPC:GetResponseHeaderTimeout|GetResponseHeaderTimeout]] | | [[HTTPC:GetResponseHeaderTimeout|GetResponseHeaderTimeout]] | ||
|- | |- | ||
| 0x00200082 | | 0x00200082 | ||
| | |||
| [[HTTPC:GetResponseData|GetResponseData]] | | [[HTTPC:GetResponseData|GetResponseData]] | ||
|- | |- | ||
| 0x00210102 | | 0x00210102 | ||
| | |||
| GetResponseDataTimeout | | GetResponseDataTimeout | ||
|- | |- | ||
| 0x00220040 | | 0x00220040 | ||
| | |||
| [[HTTPC:GetResponseStatusCode|GetResponseStatusCode]] | | [[HTTPC:GetResponseStatusCode|GetResponseStatusCode]] | ||
|- | |- | ||
| 0x002300C0 | | 0x002300C0 | ||
| | |||
| [[HTTPC:GetResponseStatusCodeTimeout|GetResponseStatusCodeTimeout]] | | [[HTTPC:GetResponseStatusCodeTimeout|GetResponseStatusCodeTimeout]] | ||
|- | |- | ||
| 0x00240082 | | 0x00240082 | ||
| | |||
| [[HTTPC:AddTrustedRootCA|AddTrustedRootCA]] | | [[HTTPC:AddTrustedRootCA|AddTrustedRootCA]] | ||
|- | |- | ||
| 0x00250080 | | 0x00250080 | ||
| | |||
| cmd[1]=httpcontext, cmd[2]=val. This is a wrapper for [[SSL_Services|SSLC]] command 0x00060080. The output value from that SSLC command is not returned by this HTTP command. Somehow related to [[HTTPC:AddTrustedRootCA|AddTrustedRootCA]]. | | cmd[1]=httpcontext, cmd[2]=val. This is a wrapper for [[SSL_Services|SSLC]] command 0x00060080. The output value from that SSLC command is not returned by this HTTP command. Somehow related to [[HTTPC:AddTrustedRootCA|AddTrustedRootCA]]. | ||
|- | |- | ||
| 0x00260080 | | 0x00260080 | ||
| | |||
| [[HTTPC:SelectRootCertChain|SelectRootCertChain]] | | [[HTTPC:SelectRootCertChain|SelectRootCertChain]] | ||
|- | |- | ||
| 0x002700C4 | | 0x002700C4 | ||
| | |||
| [[HTTPC:SetClientCert|SetClientCert]] | | [[HTTPC:SetClientCert|SetClientCert]] | ||
|- | |- | ||
| 0x00280080 | | 0x00280080 | ||
| | |||
| Somehow related to [[HTTPC:SetClientCert|SetClientCert]]. | | Somehow related to [[HTTPC:SetClientCert|SetClientCert]]. | ||
|- | |- | ||
| 0x00290080 | | 0x00290080 | ||
| | |||
| | | | ||
|- | |- | ||
| 0x002A0040 | | 0x002A0040 | ||
| | |||
| GetSSLError? | | GetSSLError? | ||
|- | |- | ||
| 0x002B0080 | | 0x002B0080 | ||
| | |||
| | | | ||
|- | |- | ||
| 0x002C0080 | | 0x002C0080 | ||
| | |||
| | | | ||
|- | |- | ||
| 0x002D0000 | | 0x002D0000 | ||
| | |||
| [[HTTPC:CreateRootCertChain|CreateRootCertChain]] | | [[HTTPC:CreateRootCertChain|CreateRootCertChain]] | ||
|- | |- | ||
| 0x002E0040 | | 0x002E0040 | ||
| | |||
| | | | ||
|- | |- | ||
| 0x002F0082 | | 0x002F0082 | ||
| | |||
| [[HTTPC:RootCertChainAddCert|RootCertChainAddCert]] | | [[HTTPC:RootCertChainAddCert|RootCertChainAddCert]] | ||
|- | |- | ||
| 0x00300080 | | 0x00300080 | ||
| | |||
| (u32 rootcertchain_contexthandle, u32 val) Presumably the RootCertChain version of command 0x00250080. | | (u32 rootcertchain_contexthandle, u32 val) Presumably the RootCertChain version of command 0x00250080. | ||
|- | |- | ||
| 0x00310080 | | 0x00310080 | ||
| | |||
| | | | ||
|- | |- | ||
| 0x00320084 | | 0x00320084 | ||
| | |||
| | | | ||
|- | |- | ||
| 0x00330040 | | 0x00330040 | ||
| | |||
| | | | ||
|- | |- | ||
| 0x00340040 | | 0x00340040 | ||
| | |||
| | | | ||
|- | |- | ||
| 0x00350186 | | 0x00350186 | ||
| | |||
| SetDefaultProxy | | SetDefaultProxy | ||
|- | |- | ||
| 0x00360000 | | 0x00360000 | ||
| | |||
| ClearDNSCache | | ClearDNSCache | ||
|- | |- | ||
| 0x00370080 | | 0x00370080 | ||
| | |||
| SetKeepAlive (bool) | | SetKeepAlive (bool) | ||
|- | |- | ||
| 0x003800C0 | | 0x003800C0 | ||
| Unknown, >[[2.0.0-2|2.0.0-X]]. | |||
| SetPostDataTypeSize (u8 enum, u32 size) (similar to SetPostDataType) | | SetPostDataTypeSize (u8 enum, u32 size) (similar to SetPostDataType) | ||
|- | |- | ||
| 0x00390000 | | 0x00390000 | ||
| Unknown, >[[2.0.0-2|2.0.0-X]]. | |||
| Finalize | | Finalize | ||
|- | |- | ||
| 0x003A.... | | 0x003A.... | ||
| Unknown, >[[2.0.0-2|2.0.0-X]]. | |||
| | | | ||
|- | |- | ||
| 0x003B0082 | | 0x003B0082 | ||
| Unknown, >[[2.0.0-2|2.0.0-X]]. | |||
| | | | ||
|- | |- | ||
| 0x003C.... | | 0x003C.... | ||
| Unknown, >[[2.0.0-2|2.0.0-X]]. | |||
| | | | ||
|- | |- | ||
| 0x003D.... | | 0x003D.... | ||
| Unknown, >[[2.0.0-2|2.0.0-X]]. | |||
| | | | ||
|- | |- | ||
| 0x003E.... | | 0x003E.... | ||
| Unknown, >[[2.0.0-2|2.0.0-X]]. | |||
| | | | ||
|- | |- | ||
| 0x003F.... | | 0x003F.... | ||
| Unknown, >[[2.0.0-2|2.0.0-X]]. | |||
| | | | ||
|- | |- | ||
| 0x00400082 | | 0x00400082 | ||
| Unknown, >[[2.0.0-2|2.0.0-X]]. | |||
| | | | ||
|- | |- | ||
| 0x0041.... | | 0x0041.... | ||
| Unknown, >[[2.0.0-2|2.0.0-X]]. | |||
| | | | ||
|- | |- | ||
| 0x0042.... | | 0x0042.... | ||
| Unknown, >[[2.0.0-2|2.0.0-X]]. | |||
| | | | ||
|} | |} |