Show / Hide Table of Contents

Interface IServerConnectorService

Namespace: FhirCodeGenBlazor.Services
Assembly: FhirCodeGenBlazor.dll
Syntax
public interface IServerConnectorService

Methods

| Improve this Doc View Source

Init()

Initializes this object.

Declaration
void Init()
| Improve this Doc View Source

ParseCapabilityJson(String, String)

Parse capability JSON.

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

The JSON.

System.String smartConfigJson

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
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.

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