Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Functions
| Function | Description |
|---|---|
| HCMockAddMock | Configures libHttpClient to return mock response instead of making a network call when HCHttpCallPerformAsync() is called. |
| HCMockCallCloseHandle | Closes a mock HTTP call handle. |
| HCMockCallCreate | Creates a mock HTTP call handle. |
| HCMockCallDuplicateHandle | Duplicates a mock HTTP call handle. |
| HCMockClearMocks | Removes all mock calls added by HCMockAddMock. |
| HCMockRemoveMock | Removes the mock. |
| HCMockResponseSetHeader | Set a response header to return for the mock. |
| HCMockResponseSetNetworkErrorCode | Set the network error code to return for the mock. |
| HCMockResponseSetResponseBodyBytes | Set the response body string to return for the mock. |
| HCMockResponseSetStatusCode | Set the HTTP status code to return for the mock. |
| HCMockSetMockMatchedCallback | Add an intermediate callback that will be called when the specified mock is matched. This gives the client another opportunity to specify the mock response. |