Show / Hide Table of Contents

Class ServerConnectorWebService

Inheritance
System.Object
ServerConnectorWebService
Implements
IHostedService
IServerConnectorService
Namespace: FhirCodeGenBlazor.Services
Assembly: FhirCodeGenBlazor.dll
Syntax
public class ServerConnectorWebService : IDisposable, IServerConnectorService

Constructors

| Improve this Doc View Source

ServerConnectorWebService()

Initializes a new instance of the SpecExporterWebService class.

Declaration
public ServerConnectorWebService()

Methods

| Improve this Doc View Source

Dispose(Boolean)

Releases the unmanaged resources used by the FhirModelComparer.Server.Services.FhirManagerService and optionally releases the managed resources.

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

True to release both managed and unmanaged resources; false to release only unmanaged resources.

| Improve this Doc View Source

Init()

Initializes this object.

Declaration
public void Init()
| Improve this Doc View Source

ParseCapabilityJson(String, String)

Parse capability JSON.

Declaration
public FhirCapabiltyStatement ParseCapabilityJson(string json, string smartConfigJson = "")
Parameters
Type Name Description
System.String json

The JSON.

System.String smartConfigJson

(Optional) The smart configuration JSON.

Returns
Type Description
FhirCapabiltyStatement

A FhirCapabiltyStatement.

| Improve this Doc View Source

TryGetServerInfo(String, Boolean, Dictionary<String, IEnumerable<String>>, out String, out FhirCapabiltyStatement)

Attempts to get server information.

Declaration
public bool TryGetServerInfo(string serverUrl, bool resolveExternal, Dictionary<string, IEnumerable<string>> headers, out string json, out FhirCapabiltyStatement serverInfo)
Parameters
Type Name Description
System.String serverUrl

URL of the server.

System.Boolean resolveExternal

True to resolve external.

Dictionary<System.String, IEnumerable<System.String>> headers

The headers.

System.String json

[out] The JSON.

FhirCapabiltyStatement serverInfo

[out] Information describing the server.

Returns
Type Description
System.Boolean

True if it succeeds, false if it fails.

Implements

IHostedService
IServerConnectorService
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX