@genesislcap/foundation-comms 14.167.3-alpha-b40d1e5.0 → 14.167.3-alpha-69ba23f.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/dts/auth/auth.d.ts.map +1 -1
- package/dist/dts/connect/connect.d.ts +1 -11
- package/dist/dts/connect/connect.d.ts.map +1 -1
- package/dist/dts/connect/http.connect.d.ts +0 -1
- package/dist/dts/connect/http.connect.d.ts.map +1 -1
- package/dist/dts/connect/index.d.ts +0 -2
- package/dist/dts/connect/index.d.ts.map +1 -1
- package/dist/dts/connect/message.d.ts +0 -51
- package/dist/dts/connect/message.d.ts.map +1 -1
- package/dist/dts/connect/socket.d.ts +8 -72
- package/dist/dts/connect/socket.d.ts.map +1 -1
- package/dist/dts/datasource/datasource.d.ts +0 -9
- package/dist/dts/datasource/datasource.d.ts.map +1 -1
- package/dist/dts/fdc3/fdc3.d.ts +1 -17
- package/dist/dts/fdc3/fdc3.d.ts.map +1 -1
- package/dist/dts/index.d.ts +0 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/testing/mocks/connect/connect.d.ts +0 -1
- package/dist/dts/testing/mocks/connect/connect.d.ts.map +1 -1
- package/dist/dts/testing/mocks/connect/socket.d.ts +1 -5
- package/dist/dts/testing/mocks/connect/socket.d.ts.map +1 -1
- package/dist/dts/testing/mocks/datasource/datasource.d.ts +0 -1
- package/dist/dts/testing/mocks/datasource/datasource.d.ts.map +1 -1
- package/dist/dts/user/user.d.ts +0 -15
- package/dist/dts/user/user.d.ts.map +1 -1
- package/dist/esm/auth/auth.js +2 -5
- package/dist/esm/connect/connect.js +8 -30
- package/dist/esm/connect/http.connect.js +0 -6
- package/dist/esm/connect/index.js +0 -2
- package/dist/esm/connect/message.js +4 -25
- package/dist/esm/connect/socket.js +44 -113
- package/dist/esm/datasource/datasource.js +8 -18
- package/dist/esm/fdc3/fdc3.js +4 -4
- package/dist/esm/index.js +0 -1
- package/dist/esm/testing/mocks/connect/connect.js +0 -3
- package/dist/esm/testing/mocks/connect/socket.js +1 -1
- package/dist/esm/testing/mocks/datasource/datasource.js +0 -1
- package/dist/esm/user/user.js +1 -22
- package/dist/foundation-comms.api.json +6567 -13112
- package/dist/foundation-comms.d.ts +13 -841
- package/docs/api/foundation-comms.connect.md +0 -1
- package/docs/api/foundation-comms.currentuser.md +0 -2
- package/docs/api/foundation-comms.datasource.md +0 -1
- package/docs/api/foundation-comms.defaultconnect._constructor_.md +1 -2
- package/docs/api/foundation-comms.defaultconnect.md +1 -2
- package/docs/api/foundation-comms.defaultdatasource.md +0 -1
- package/docs/api/foundation-comms.defaulthttpconnect.md +0 -1
- package/docs/api/foundation-comms.md +0 -39
- package/docs/api/foundation-comms.messagebuilder.md +0 -1
- package/docs/api/foundation-comms.messagetype.md +0 -2
- package/docs/api/foundation-comms.socket.hasvalidsession.md +11 -0
- package/docs/api/foundation-comms.socket.isconnected.md +11 -0
- package/docs/api/{foundation-comms.socketstatus.isconnectedsubject.md → foundation-comms.socket.isconnectedsubject.md} +2 -2
- package/docs/api/foundation-comms.socket.isreconnecting.md +11 -0
- package/docs/api/foundation-comms.socket.md +11 -3
- package/docs/api/foundation-comms.socket.sendforstream.md +1 -2
- package/docs/api/foundation-comms.user.md +0 -2
- package/docs/api-report.md +16 -520
- package/package.json +11 -13
- package/dist/dts/connect/connect.events.d.ts +0 -173
- package/dist/dts/connect/connect.events.d.ts.map +0 -1
- package/dist/dts/connect/socket.status.d.ts +0 -79
- package/dist/dts/connect/socket.status.d.ts.map +0 -1
- package/dist/dts/networkMonitor/config.d.ts +0 -56
- package/dist/dts/networkMonitor/config.d.ts.map +0 -1
- package/dist/dts/networkMonitor/index.d.ts +0 -4
- package/dist/dts/networkMonitor/index.d.ts.map +0 -1
- package/dist/dts/networkMonitor/service.d.ts +0 -193
- package/dist/dts/networkMonitor/service.d.ts.map +0 -1
- package/dist/dts/networkMonitor/types.d.ts +0 -133
- package/dist/dts/networkMonitor/types.d.ts.map +0 -1
- package/dist/esm/connect/connect.events.js +0 -113
- package/dist/esm/connect/socket.status.js +0 -119
- package/dist/esm/networkMonitor/config.js +0 -46
- package/dist/esm/networkMonitor/index.js +0 -3
- package/dist/esm/networkMonitor/service.js +0 -432
- package/dist/esm/networkMonitor/types.js +0 -5
- package/docs/api/foundation-comms.commitevent.md +0 -14
- package/docs/api/foundation-comms.commiteventdetail.md +0 -17
- package/docs/api/foundation-comms.commiteventtype.md +0 -12
- package/docs/api/foundation-comms.connect.getmorecolumns.md +0 -26
- package/docs/api/foundation-comms.connectevents.addcommitlistener.md +0 -24
- package/docs/api/foundation-comms.connectevents.addmetadatalistener.md +0 -24
- package/docs/api/foundation-comms.connectevents.addstreamlistener.md +0 -25
- package/docs/api/foundation-comms.connectevents.md +0 -22
- package/docs/api/foundation-comms.connecteventsemitter.md +0 -24
- package/docs/api/foundation-comms.connecteventsemitter.oncommitevent.md +0 -25
- package/docs/api/foundation-comms.connecteventsemitter.onmetadataevent.md +0 -26
- package/docs/api/foundation-comms.connecteventsemitter.onstreamcompleteevent.md +0 -24
- package/docs/api/foundation-comms.connecteventsemitter.onstreamevent.md +0 -27
- package/docs/api/foundation-comms.currentuser.set.md +0 -22
- package/docs/api/foundation-comms.currentuser.unset.md +0 -15
- package/docs/api/foundation-comms.datasource.destroy.md +0 -17
- package/docs/api/foundation-comms.defaultconnect.getmorecolumns.md +0 -22
- package/docs/api/foundation-comms.defaultconnectevents.addcommitlistener.md +0 -24
- package/docs/api/foundation-comms.defaultconnectevents.addmetadatalistener.md +0 -24
- package/docs/api/foundation-comms.defaultconnectevents.addstreamlistener.md +0 -25
- package/docs/api/foundation-comms.defaultconnectevents.md +0 -27
- package/docs/api/foundation-comms.defaultconnectevents.oncommitevent.md +0 -25
- package/docs/api/foundation-comms.defaultconnectevents.onmetadataevent.md +0 -26
- package/docs/api/foundation-comms.defaultconnectevents.onstreamcompleteevent.md +0 -24
- package/docs/api/foundation-comms.defaultconnectevents.onstreamevent.md +0 -27
- package/docs/api/foundation-comms.defaultdatasource.destroy.md +0 -17
- package/docs/api/foundation-comms.defaulthttpconnect.getmorecolumns.md +0 -22
- package/docs/api/foundation-comms.defaultmessagebuilder._constructor_.md +0 -21
- package/docs/api/foundation-comms.defaultmessagebuilder.createchangepasswordmessage.md +0 -24
- package/docs/api/foundation-comms.defaultmessagebuilder.createcommitmessage.md +0 -23
- package/docs/api/foundation-comms.defaultmessagebuilder.createdatalogoffmessage.md +0 -22
- package/docs/api/foundation-comms.defaultmessagebuilder.createdatalogonmessage.md +0 -23
- package/docs/api/foundation-comms.defaultmessagebuilder.createforgotpasswordmessage.md +0 -24
- package/docs/api/foundation-comms.defaultmessagebuilder.createforgotpasswordtokenmessage.md +0 -25
- package/docs/api/foundation-comms.defaultmessagebuilder.createhttpheadersfrommessage.md +0 -23
- package/docs/api/foundation-comms.defaultmessagebuilder.createloginmessage.md +0 -22
- package/docs/api/foundation-comms.defaultmessagebuilder.createlogoutmessage.md +0 -22
- package/docs/api/foundation-comms.defaultmessagebuilder.createmetarequestmessage.md +0 -23
- package/docs/api/foundation-comms.defaultmessagebuilder.createmorecolumnsmessage.md +0 -22
- package/docs/api/foundation-comms.defaultmessagebuilder.createmorerowsmessage.md +0 -22
- package/docs/api/foundation-comms.defaultmessagebuilder.createrefreshtokenmessage.md +0 -15
- package/docs/api/foundation-comms.defaultmessagebuilder.createrequestmessage.md +0 -23
- package/docs/api/foundation-comms.defaultmessagebuilder.createresourcesmessage.md +0 -22
- package/docs/api/foundation-comms.defaultmessagebuilder.md +0 -41
- package/docs/api/foundation-comms.defaultnetworkmonitor.addresource.md +0 -23
- package/docs/api/foundation-comms.defaultnetworkmonitor.create.md +0 -16
- package/docs/api/foundation-comms.defaultnetworkmonitor.destroy.md +0 -16
- package/docs/api/foundation-comms.defaultnetworkmonitor.md +0 -31
- package/docs/api/foundation-comms.defaultnetworkmonitor.removeresource.md +0 -22
- package/docs/api/foundation-comms.defaultnetworkmonitor.runallchecks.md +0 -11
- package/docs/api/foundation-comms.defaultnetworkmonitor.status.md +0 -12
- package/docs/api/foundation-comms.defaultnetworkmonitorconfig.md +0 -13
- package/docs/api/foundation-comms.defaultsocket._constructor_.md +0 -24
- package/docs/api/foundation-comms.defaultsocket.connect.md +0 -24
- package/docs/api/foundation-comms.defaultsocket.hasvalidsession.md +0 -13
- package/docs/api/foundation-comms.defaultsocket.isconfigured.md +0 -11
- package/docs/api/foundation-comms.defaultsocket.isconnected.md +0 -11
- package/docs/api/foundation-comms.defaultsocket.isconnectedsubject.md +0 -11
- package/docs/api/foundation-comms.defaultsocket.isconnecting.md +0 -11
- package/docs/api/foundation-comms.defaultsocket.isdisconnected.md +0 -11
- package/docs/api/foundation-comms.defaultsocket.isdisconnectedbyserver.md +0 -11
- package/docs/api/foundation-comms.defaultsocket.isreconnecting.md +0 -11
- package/docs/api/foundation-comms.defaultsocket.md +0 -44
- package/docs/api/foundation-comms.defaultsocket.reset.md +0 -15
- package/docs/api/foundation-comms.defaultsocket.send.md +0 -23
- package/docs/api/foundation-comms.defaultsocket.sendforstream.md +0 -25
- package/docs/api/foundation-comms.defaultsocket.socketmessages.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.closedclean.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.closedcode.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.closedreason.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.hasvalidsession.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.isconfigured.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.isconnected.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.isconnectedchanged.md +0 -15
- package/docs/api/foundation-comms.defaultsocketstatus.isconnectedsubject.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.isconnecting.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.isdisconnected.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.isdisconnectedbyserver.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.isreconnecting.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.isreconnectingchanged.md +0 -15
- package/docs/api/foundation-comms.defaultsocketstatus.md +0 -42
- package/docs/api/foundation-comms.defaultsocketstatus.onclose.md +0 -22
- package/docs/api/foundation-comms.defaultsocketstatus.reconnectionlimitreached.md +0 -11
- package/docs/api/foundation-comms.defaultsocketstatus.resetclosedstate.md +0 -15
- package/docs/api/foundation-comms.defaultsocketstatus.serialize.md +0 -15
- package/docs/api/foundation-comms.genesisconnectevents.md +0 -18
- package/docs/api/foundation-comms.getnetworkmonitor.md +0 -30
- package/docs/api/foundation-comms.getsocket.md +0 -30
- package/docs/api/foundation-comms.getsocketstatus.md +0 -30
- package/docs/api/foundation-comms.messagebuilder.createmorecolumnsmessage.md +0 -30
- package/docs/api/foundation-comms.messagehaserrorcode.md +0 -13
- package/docs/api/foundation-comms.metadataevent.md +0 -14
- package/docs/api/foundation-comms.metadataeventdetail.md +0 -18
- package/docs/api/foundation-comms.metadataeventtype.md +0 -12
- package/docs/api/foundation-comms.monitoredresource.md +0 -15
- package/docs/api/foundation-comms.monitoredresourcechecks.md +0 -15
- package/docs/api/foundation-comms.monitoredresourcechecksresult.isconnected.md +0 -11
- package/docs/api/foundation-comms.monitoredresourcechecksresult.lastmessage.md +0 -11
- package/docs/api/foundation-comms.monitoredresourcechecksresult.lastupdated.md +0 -11
- package/docs/api/foundation-comms.monitoredresourcechecksresult.md +0 -23
- package/docs/api/foundation-comms.monitoredresourcechecksresult.timeout.md +0 -11
- package/docs/api/foundation-comms.monitoredresourcedatalogon.md +0 -15
- package/docs/api/foundation-comms.monitoredresourcemetadata.md +0 -15
- package/docs/api/foundation-comms.networklogger.md +0 -12
- package/docs/api/foundation-comms.networkmonitor.addresource.md +0 -23
- package/docs/api/foundation-comms.networkmonitor.create.md +0 -15
- package/docs/api/foundation-comms.networkmonitor.destroy.md +0 -15
- package/docs/api/foundation-comms.networkmonitor.md +0 -34
- package/docs/api/foundation-comms.networkmonitor.removeresource.md +0 -22
- package/docs/api/foundation-comms.networkmonitor.runallchecks.md +0 -23
- package/docs/api/foundation-comms.networkmonitor.status.md +0 -11
- package/docs/api/foundation-comms.networkmonitorconfig.checkinterval.md +0 -13
- package/docs/api/foundation-comms.networkmonitorconfig.checktimeout.md +0 -13
- package/docs/api/foundation-comms.networkmonitorconfig.documentevents.md +0 -13
- package/docs/api/foundation-comms.networkmonitorconfig.eventemitter.md +0 -13
- package/docs/api/foundation-comms.networkmonitorconfig.genesisconnectevents.md +0 -13
- package/docs/api/foundation-comms.networkmonitorconfig.md +0 -27
- package/docs/api/foundation-comms.networkmonitorconfig.resourcechecks.md +0 -13
- package/docs/api/foundation-comms.networkmonitorconfig.resourcedatalogon.md +0 -18
- package/docs/api/foundation-comms.networkmonitorconfig.windowevents.md +0 -13
- package/docs/api/foundation-comms.resourcehealth.md +0 -19
- package/docs/api/foundation-comms.serializedsocketstatus.closedclean.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.closedcode.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.closedreason.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.hasvalidsession.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.isconfigured.md +0 -13
- package/docs/api/foundation-comms.serializedsocketstatus.isconnected.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.isconnecting.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.isdisconnected.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.isdisconnectedbyserver.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.isreconnecting.md +0 -11
- package/docs/api/foundation-comms.serializedsocketstatus.md +0 -30
- package/docs/api/foundation-comms.serializedsocketstatus.reconnectionlimitreached.md +0 -11
- package/docs/api/foundation-comms.socketstatus.md +0 -28
- package/docs/api/foundation-comms.socketstatus.onclose.md +0 -22
- package/docs/api/foundation-comms.socketstatus.serialize.md +0 -15
- package/docs/api/foundation-comms.streamcompleteevent.md +0 -14
- package/docs/api/foundation-comms.streamcompleteeventtype.md +0 -12
- package/docs/api/foundation-comms.streamevent.md +0 -14
- package/docs/api/foundation-comms.streameventdetail.md +0 -19
- package/docs/api/foundation-comms.streameventfunctions.md +0 -19
- package/docs/api/foundation-comms.streameventtype.md +0 -12
- package/docs/api/foundation-comms.systemhealthchanged.md +0 -13
- package/docs/api/foundation-comms.systemhealthchangedevent.md +0 -15
- package/docs/api/foundation-comms.systemhealthstatus.md +0 -29
- package/docs/api/foundation-comms.user.set.md +0 -22
- package/docs/api/foundation-comms.user.unset.md +0 -15
@@ -1,26 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [ConnectEventsEmitter](./foundation-comms.connecteventsemitter.md) > [onMetadataEvent](./foundation-comms.connecteventsemitter.onmetadataevent.md)
|
4
|
-
|
5
|
-
## ConnectEventsEmitter.onMetadataEvent() method
|
6
|
-
|
7
|
-
Called by Connect.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
onMetadataEvent(resourceName: string, message: Message<MessageDetails.MetaRequest>, error?: any): void;
|
13
|
-
```
|
14
|
-
|
15
|
-
## Parameters
|
16
|
-
|
17
|
-
| Parameter | Type | Description |
|
18
|
-
| --- | --- | --- |
|
19
|
-
| resourceName | string | The name of the resource. |
|
20
|
-
| message | [Message](./foundation-comms.message.md)<!-- --><[MessageDetails.MetaRequest](./foundation-comms.messagedetails.metarequest.md)<!-- -->> | The message. |
|
21
|
-
| error | any | _(Optional)_ Optional error. |
|
22
|
-
|
23
|
-
**Returns:**
|
24
|
-
|
25
|
-
void
|
26
|
-
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [ConnectEventsEmitter](./foundation-comms.connecteventsemitter.md) > [onStreamCompleteEvent](./foundation-comms.connecteventsemitter.onstreamcompleteevent.md)
|
4
|
-
|
5
|
-
## ConnectEventsEmitter.onStreamCompleteEvent() method
|
6
|
-
|
7
|
-
Called by Connect.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
onStreamCompleteEvent(stream: SocketObservable<any>): void;
|
13
|
-
```
|
14
|
-
|
15
|
-
## Parameters
|
16
|
-
|
17
|
-
| Parameter | Type | Description |
|
18
|
-
| --- | --- | --- |
|
19
|
-
| stream | [SocketObservable](./foundation-comms.socketobservable.md)<!-- --><any> | The actual stream itself. |
|
20
|
-
|
21
|
-
**Returns:**
|
22
|
-
|
23
|
-
void
|
24
|
-
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [ConnectEventsEmitter](./foundation-comms.connecteventsemitter.md) > [onStreamEvent](./foundation-comms.connecteventsemitter.onstreamevent.md)
|
4
|
-
|
5
|
-
## ConnectEventsEmitter.onStreamEvent() method
|
6
|
-
|
7
|
-
Called by Connect.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
onStreamEvent(resourceName: string, message: Message<MessageDetails.DataserverRequest>, stream: SocketObservable<any>, functions: StreamEventFunctions): void;
|
13
|
-
```
|
14
|
-
|
15
|
-
## Parameters
|
16
|
-
|
17
|
-
| Parameter | Type | Description |
|
18
|
-
| --- | --- | --- |
|
19
|
-
| resourceName | string | The name of the resource. |
|
20
|
-
| message | [Message](./foundation-comms.message.md)<!-- --><[MessageDetails.DataserverRequest](./foundation-comms.messagedetails.dataserverrequest.md)<!-- -->> | The message. |
|
21
|
-
| stream | [SocketObservable](./foundation-comms.socketobservable.md)<!-- --><any> | The actual stream itself. |
|
22
|
-
| functions | [StreamEventFunctions](./foundation-comms.streameventfunctions.md) | Any functions provided. |
|
23
|
-
|
24
|
-
**Returns:**
|
25
|
-
|
26
|
-
void
|
27
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [CurrentUser](./foundation-comms.currentuser.md) > [set](./foundation-comms.currentuser.set.md)
|
4
|
-
|
5
|
-
## CurrentUser.set() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
set(options: UserOptions): void;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| options | UserOptions | |
|
18
|
-
|
19
|
-
**Returns:**
|
20
|
-
|
21
|
-
void
|
22
|
-
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [CurrentUser](./foundation-comms.currentuser.md) > [unset](./foundation-comms.currentuser.unset.md)
|
4
|
-
|
5
|
-
## CurrentUser.unset() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
unset(): void;
|
11
|
-
```
|
12
|
-
**Returns:**
|
13
|
-
|
14
|
-
void
|
15
|
-
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [Datasource](./foundation-comms.datasource.md) > [destroy](./foundation-comms.datasource.destroy.md)
|
4
|
-
|
5
|
-
## Datasource.destroy() method
|
6
|
-
|
7
|
-
Destroy the datasource.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
destroy(): void;
|
13
|
-
```
|
14
|
-
**Returns:**
|
15
|
-
|
16
|
-
void
|
17
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultConnect](./foundation-comms.defaultconnect.md) > [getMoreColumns](./foundation-comms.defaultconnect.getmorecolumns.md)
|
4
|
-
|
5
|
-
## DefaultConnect.getMoreColumns() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
getMoreColumns(sourceRef: string): Promise<Message>;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| sourceRef | string | |
|
18
|
-
|
19
|
-
**Returns:**
|
20
|
-
|
21
|
-
Promise<[Message](./foundation-comms.message.md)<!-- -->>
|
22
|
-
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultConnectEvents](./foundation-comms.defaultconnectevents.md) > [addCommitListener](./foundation-comms.defaultconnectevents.addcommitlistener.md)
|
4
|
-
|
5
|
-
## DefaultConnectEvents.addCommitListener() method
|
6
|
-
|
7
|
-
Add a commit listener.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
addCommitListener(listener: Listener<CommitEvent>): () => void;
|
13
|
-
```
|
14
|
-
|
15
|
-
## Parameters
|
16
|
-
|
17
|
-
| Parameter | Type | Description |
|
18
|
-
| --- | --- | --- |
|
19
|
-
| listener | Listener<[CommitEvent](./foundation-comms.commitevent.md)<!-- -->> | A listener callback function. |
|
20
|
-
|
21
|
-
**Returns:**
|
22
|
-
|
23
|
-
() => void
|
24
|
-
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultConnectEvents](./foundation-comms.defaultconnectevents.md) > [addMetadataListener](./foundation-comms.defaultconnectevents.addmetadatalistener.md)
|
4
|
-
|
5
|
-
## DefaultConnectEvents.addMetadataListener() method
|
6
|
-
|
7
|
-
Add a metadata listener.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
addMetadataListener(listener: Listener<MetadataEvent>): () => void;
|
13
|
-
```
|
14
|
-
|
15
|
-
## Parameters
|
16
|
-
|
17
|
-
| Parameter | Type | Description |
|
18
|
-
| --- | --- | --- |
|
19
|
-
| listener | Listener<[MetadataEvent](./foundation-comms.metadataevent.md)<!-- -->> | A listener callback function. |
|
20
|
-
|
21
|
-
**Returns:**
|
22
|
-
|
23
|
-
() => void
|
24
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultConnectEvents](./foundation-comms.defaultconnectevents.md) > [addStreamListener](./foundation-comms.defaultconnectevents.addstreamlistener.md)
|
4
|
-
|
5
|
-
## DefaultConnectEvents.addStreamListener() method
|
6
|
-
|
7
|
-
Add a stream listener.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
addStreamListener(listener: Listener<StreamEvent>, complete: Listener<StreamCompleteEvent>): () => void;
|
13
|
-
```
|
14
|
-
|
15
|
-
## Parameters
|
16
|
-
|
17
|
-
| Parameter | Type | Description |
|
18
|
-
| --- | --- | --- |
|
19
|
-
| listener | Listener<[StreamEvent](./foundation-comms.streamevent.md)<!-- -->> | A listener callback function. |
|
20
|
-
| complete | Listener<[StreamCompleteEvent](./foundation-comms.streamcompleteevent.md)<!-- -->> | A complete listener callback function. |
|
21
|
-
|
22
|
-
**Returns:**
|
23
|
-
|
24
|
-
() => void
|
25
|
-
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultConnectEvents](./foundation-comms.defaultconnectevents.md)
|
4
|
-
|
5
|
-
## DefaultConnectEvents class
|
6
|
-
|
7
|
-
Default ConnectEvents implementation.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
export declare class DefaultConnectEvents implements ConnectEventsEmitter
|
13
|
-
```
|
14
|
-
**Implements:** [ConnectEventsEmitter](./foundation-comms.connecteventsemitter.md)
|
15
|
-
|
16
|
-
## Methods
|
17
|
-
|
18
|
-
| Method | Modifiers | Description |
|
19
|
-
| --- | --- | --- |
|
20
|
-
| [addCommitListener(listener)](./foundation-comms.defaultconnectevents.addcommitlistener.md) | | Add a commit listener. |
|
21
|
-
| [addMetadataListener(listener)](./foundation-comms.defaultconnectevents.addmetadatalistener.md) | | Add a metadata listener. |
|
22
|
-
| [addStreamListener(listener, complete)](./foundation-comms.defaultconnectevents.addstreamlistener.md) | | Add a stream listener. |
|
23
|
-
| [onCommitEvent(eventName, message)](./foundation-comms.defaultconnectevents.oncommitevent.md) | | Called by Connect. |
|
24
|
-
| [onMetadataEvent(resourceName, message, error)](./foundation-comms.defaultconnectevents.onmetadataevent.md) | | Called by Connect. |
|
25
|
-
| [onStreamCompleteEvent(stream)](./foundation-comms.defaultconnectevents.onstreamcompleteevent.md) | | Called by Connect. |
|
26
|
-
| [onStreamEvent(resourceName, message, stream, functions)](./foundation-comms.defaultconnectevents.onstreamevent.md) | | Called by Connect. |
|
27
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultConnectEvents](./foundation-comms.defaultconnectevents.md) > [onCommitEvent](./foundation-comms.defaultconnectevents.oncommitevent.md)
|
4
|
-
|
5
|
-
## DefaultConnectEvents.onCommitEvent() method
|
6
|
-
|
7
|
-
Called by Connect.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
onCommitEvent(eventName: string, message: Message): void;
|
13
|
-
```
|
14
|
-
|
15
|
-
## Parameters
|
16
|
-
|
17
|
-
| Parameter | Type | Description |
|
18
|
-
| --- | --- | --- |
|
19
|
-
| eventName | string | |
|
20
|
-
| message | [Message](./foundation-comms.message.md) | The message. |
|
21
|
-
|
22
|
-
**Returns:**
|
23
|
-
|
24
|
-
void
|
25
|
-
|
@@ -1,26 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultConnectEvents](./foundation-comms.defaultconnectevents.md) > [onMetadataEvent](./foundation-comms.defaultconnectevents.onmetadataevent.md)
|
4
|
-
|
5
|
-
## DefaultConnectEvents.onMetadataEvent() method
|
6
|
-
|
7
|
-
Called by Connect.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
onMetadataEvent(resourceName: string, message: Message<MessageDetails.MetaRequest>, error?: any): void;
|
13
|
-
```
|
14
|
-
|
15
|
-
## Parameters
|
16
|
-
|
17
|
-
| Parameter | Type | Description |
|
18
|
-
| --- | --- | --- |
|
19
|
-
| resourceName | string | The name of the resource. |
|
20
|
-
| message | [Message](./foundation-comms.message.md)<!-- --><[MessageDetails.MetaRequest](./foundation-comms.messagedetails.metarequest.md)<!-- -->> | The message. |
|
21
|
-
| error | any | _(Optional)_ Optional error. |
|
22
|
-
|
23
|
-
**Returns:**
|
24
|
-
|
25
|
-
void
|
26
|
-
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultConnectEvents](./foundation-comms.defaultconnectevents.md) > [onStreamCompleteEvent](./foundation-comms.defaultconnectevents.onstreamcompleteevent.md)
|
4
|
-
|
5
|
-
## DefaultConnectEvents.onStreamCompleteEvent() method
|
6
|
-
|
7
|
-
Called by Connect.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
onStreamCompleteEvent(stream: SocketObservable<any>): void;
|
13
|
-
```
|
14
|
-
|
15
|
-
## Parameters
|
16
|
-
|
17
|
-
| Parameter | Type | Description |
|
18
|
-
| --- | --- | --- |
|
19
|
-
| stream | [SocketObservable](./foundation-comms.socketobservable.md)<!-- --><any> | The actual stream itself. |
|
20
|
-
|
21
|
-
**Returns:**
|
22
|
-
|
23
|
-
void
|
24
|
-
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultConnectEvents](./foundation-comms.defaultconnectevents.md) > [onStreamEvent](./foundation-comms.defaultconnectevents.onstreamevent.md)
|
4
|
-
|
5
|
-
## DefaultConnectEvents.onStreamEvent() method
|
6
|
-
|
7
|
-
Called by Connect.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
onStreamEvent(resourceName: string, message: Message<MessageDetails.DataserverRequest>, stream: SocketObservable<any>, functions: StreamEventFunctions): void;
|
13
|
-
```
|
14
|
-
|
15
|
-
## Parameters
|
16
|
-
|
17
|
-
| Parameter | Type | Description |
|
18
|
-
| --- | --- | --- |
|
19
|
-
| resourceName | string | The name of the resource. |
|
20
|
-
| message | [Message](./foundation-comms.message.md)<!-- --><[MessageDetails.DataserverRequest](./foundation-comms.messagedetails.dataserverrequest.md)<!-- -->> | The message. |
|
21
|
-
| stream | [SocketObservable](./foundation-comms.socketobservable.md)<!-- --><any> | The actual stream itself. |
|
22
|
-
| functions | [StreamEventFunctions](./foundation-comms.streameventfunctions.md) | Any functions provided. |
|
23
|
-
|
24
|
-
**Returns:**
|
25
|
-
|
26
|
-
void
|
27
|
-
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultDatasource](./foundation-comms.defaultdatasource.md) > [destroy](./foundation-comms.defaultdatasource.destroy.md)
|
4
|
-
|
5
|
-
## DefaultDatasource.destroy() method
|
6
|
-
|
7
|
-
Destroy the datasource.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
destroy(): void;
|
13
|
-
```
|
14
|
-
**Returns:**
|
15
|
-
|
16
|
-
void
|
17
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultHttpConnect](./foundation-comms.defaulthttpconnect.md) > [getMoreColumns](./foundation-comms.defaulthttpconnect.getmorecolumns.md)
|
4
|
-
|
5
|
-
## DefaultHttpConnect.getMoreColumns() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
getMoreColumns(sourceRef: string): Promise<Message>;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| sourceRef | string | |
|
18
|
-
|
19
|
-
**Returns:**
|
20
|
-
|
21
|
-
Promise<[Message](./foundation-comms.message.md)<!-- -->>
|
22
|
-
|
@@ -1,21 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [(constructor)](./foundation-comms.defaultmessagebuilder._constructor_.md)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder.(constructor)
|
6
|
-
|
7
|
-
UUID will be created in the DI with the App specific requirements. Keeping it encapsulated means messages will always conform.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
constructor(session: Session, uuid: UUID);
|
13
|
-
```
|
14
|
-
|
15
|
-
## Parameters
|
16
|
-
|
17
|
-
| Parameter | Type | Description |
|
18
|
-
| --- | --- | --- |
|
19
|
-
| session | [Session](./foundation-comms.session.md) | |
|
20
|
-
| uuid | UUID | |
|
21
|
-
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createChangePasswordMessage](./foundation-comms.defaultmessagebuilder.createchangepasswordmessage.md)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder.createChangePasswordMessage() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
createChangePasswordMessage(username: string, oldPassword: string, newPassword: string): Message<MessageDetails.ChangePassword>;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| username | string | |
|
18
|
-
| oldPassword | string | |
|
19
|
-
| newPassword | string | |
|
20
|
-
|
21
|
-
**Returns:**
|
22
|
-
|
23
|
-
[Message](./foundation-comms.message.md)<!-- --><[MessageDetails.ChangePassword](./foundation-comms.messagedetails.changepassword.md)<!-- -->>
|
24
|
-
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createCommitMessage](./foundation-comms.defaultmessagebuilder.createcommitmessage.md)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder.createCommitMessage() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
createCommitMessage<T = any>(eventName: string, params?: CommitParams): Message<T>;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| eventName | string | |
|
18
|
-
| params | [CommitParams](./foundation-comms.commitparams.md) | _(Optional)_ |
|
19
|
-
|
20
|
-
**Returns:**
|
21
|
-
|
22
|
-
[Message](./foundation-comms.message.md)<!-- --><T>
|
23
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createDataLogoffMessage](./foundation-comms.defaultmessagebuilder.createdatalogoffmessage.md)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder.createDataLogoffMessage() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
createDataLogoffMessage<T = any>(sourceRef: string): Message<T>;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| sourceRef | string | |
|
18
|
-
|
19
|
-
**Returns:**
|
20
|
-
|
21
|
-
[Message](./foundation-comms.message.md)<!-- --><T>
|
22
|
-
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createDataLogonMessage](./foundation-comms.defaultmessagebuilder.createdatalogonmessage.md)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder.createDataLogonMessage() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
createDataLogonMessage(resourceName: string, params?: any): Message<MessageDetails.DataserverRequest>;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| resourceName | string | |
|
18
|
-
| params | any | _(Optional)_ |
|
19
|
-
|
20
|
-
**Returns:**
|
21
|
-
|
22
|
-
[Message](./foundation-comms.message.md)<!-- --><[MessageDetails.DataserverRequest](./foundation-comms.messagedetails.dataserverrequest.md)<!-- -->>
|
23
|
-
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createForgotPasswordMessage](./foundation-comms.defaultmessagebuilder.createforgotpasswordmessage.md)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder.createForgotPasswordMessage() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
createForgotPasswordMessage(username: string, returnUrl: string, requester?: string): Message<MessageDetails.ForgotPassword>;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| username | string | |
|
18
|
-
| returnUrl | string | |
|
19
|
-
| requester | string | _(Optional)_ |
|
20
|
-
|
21
|
-
**Returns:**
|
22
|
-
|
23
|
-
[Message](./foundation-comms.message.md)<!-- --><[MessageDetails.ForgotPassword](./foundation-comms.messagedetails.forgotpassword.md)<!-- -->>
|
24
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createForgotPasswordTokenMessage](./foundation-comms.defaultmessagebuilder.createforgotpasswordtokenmessage.md)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder.createForgotPasswordTokenMessage() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
createForgotPasswordTokenMessage(username: string, resetToken: string, newPassword: string, requester?: string): Message<MessageDetails.ForgotPasswordToken>;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| username | string | |
|
18
|
-
| resetToken | string | |
|
19
|
-
| newPassword | string | |
|
20
|
-
| requester | string | _(Optional)_ |
|
21
|
-
|
22
|
-
**Returns:**
|
23
|
-
|
24
|
-
[Message](./foundation-comms.message.md)<!-- --><[MessageDetails.ForgotPasswordToken](./foundation-comms.messagedetails.forgotpasswordtoken.md)<!-- -->>
|
25
|
-
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createHTTPHeadersFromMessage](./foundation-comms.defaultmessagebuilder.createhttpheadersfrommessage.md)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder.createHTTPHeadersFromMessage() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
createHTTPHeadersFromMessage(message: Message, contentType?: string): HeadersInit;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| message | [Message](./foundation-comms.message.md) | |
|
18
|
-
| contentType | string | _(Optional)_ |
|
19
|
-
|
20
|
-
**Returns:**
|
21
|
-
|
22
|
-
HeadersInit
|
23
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createLoginMessage](./foundation-comms.defaultmessagebuilder.createloginmessage.md)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder.createLoginMessage() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
createLoginMessage(credentials: AuthInfo): Message<MessageDetails.Login>;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| credentials | [AuthInfo](./foundation-comms.authinfo.md) | |
|
18
|
-
|
19
|
-
**Returns:**
|
20
|
-
|
21
|
-
[Message](./foundation-comms.message.md)<!-- --><[MessageDetails.Login](./foundation-comms.messagedetails.login.md)<!-- -->>
|
22
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createLogoutMessage](./foundation-comms.defaultmessagebuilder.createlogoutmessage.md)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder.createLogoutMessage() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
createLogoutMessage(loginResult?: LoginResult): Message;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| loginResult | [LoginResult](./foundation-comms.loginresult.md) | _(Optional)_ |
|
18
|
-
|
19
|
-
**Returns:**
|
20
|
-
|
21
|
-
[Message](./foundation-comms.message.md)
|
22
|
-
|