IMobileBackendCreateHttpClient Method |
Configures and returns a new HttpClient instance that can talk to the Mobile Backend. Auth and Diagnostics
headers will be automatically inserted.
Namespace: Oracle.Cloud.Mobile.MobileBackendAssembly: Oracle.Cloud.Mobile (in Oracle.Cloud.Mobile.dll) Version: 16.1.3.1 (16.1.3.1)
SyntaxHttpClient CreateHttpClient(
string mediaType = "application/json"
)
Function CreateHttpClient (
Optional mediaType As String = "application/json"
) As HttpClient
HttpClient^ CreateHttpClient(
String^ mediaType = L"application/json"
)
abstract CreateHttpClient :
?mediaType : string
(* Defaults:
let _mediaType = defaultArg mediaType "application/json"
*)
-> HttpClient
Parameters
- mediaType (Optional)
- Type: SystemString
The media type for the Accept header.
Return Value
Type:
HttpClientA System.Net.Http.HttpClient instance.
See Also