Click or drag to resize

RestClientCreateHttpRequest Method

Create the HTTP request

Namespace: SanteDB.Core.Http
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
protected override WebRequest CreateHttpRequest(
	string url,
	NameValueCollection query
)

Parameters

url  String

[Missing <param name="url"/> documentation for "M:SanteDB.Core.Http.RestClient.CreateHttpRequest(System.String,System.Collections.Specialized.NameValueCollection)"]

query  NameValueCollection
The query which should be executed on the server

Return Value

WebRequest

[Missing <returns> documentation for "M:SanteDB.Core.Http.RestClient.CreateHttpRequest(System.String,System.Collections.Specialized.NameValueCollection)"]

Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when the description (configuration) does not contain any endpoints.
See Also