@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,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) > [createMetaRequestMessage](./foundation-comms.defaultmessagebuilder.createmetarequestmessage.md)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder.createMetaRequestMessage() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
createMetaRequestMessage(resourceName: string, messageType?: EventMessageType): Message<MessageDetails.MetaRequest>;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| resourceName | string | |
|
18
|
-
| messageType | [EventMessageType](./foundation-comms.eventmessagetype.md) | _(Optional)_ |
|
19
|
-
|
20
|
-
**Returns:**
|
21
|
-
|
22
|
-
[Message](./foundation-comms.message.md)<!-- --><[MessageDetails.MetaRequest](./foundation-comms.messagedetails.metarequest.md)<!-- -->>
|
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) > [createMoreColumnsMessage](./foundation-comms.defaultmessagebuilder.createmorecolumnsmessage.md)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder.createMoreColumnsMessage() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
createMoreColumnsMessage(sourceRef: string): Message;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| sourceRef | string | |
|
18
|
-
|
19
|
-
**Returns:**
|
20
|
-
|
21
|
-
[Message](./foundation-comms.message.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) > [createMoreRowsMessage](./foundation-comms.defaultmessagebuilder.createmorerowsmessage.md)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder.createMoreRowsMessage() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
createMoreRowsMessage(sourceRef: string): Message;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| sourceRef | string | |
|
18
|
-
|
19
|
-
**Returns:**
|
20
|
-
|
21
|
-
[Message](./foundation-comms.message.md)
|
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) > [DefaultMessageBuilder](./foundation-comms.defaultmessagebuilder.md) > [createRefreshTokenMessage](./foundation-comms.defaultmessagebuilder.createrefreshtokenmessage.md)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder.createRefreshTokenMessage() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
createRefreshTokenMessage(): Message<MessageDetails.RefreshToken>;
|
11
|
-
```
|
12
|
-
**Returns:**
|
13
|
-
|
14
|
-
[Message](./foundation-comms.message.md)<!-- --><[MessageDetails.RefreshToken](./foundation-comms.messagedetails.refreshtoken.md)<!-- -->>
|
15
|
-
|
@@ -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) > [createRequestMessage](./foundation-comms.defaultmessagebuilder.createrequestmessage.md)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder.createRequestMessage() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Message<T>;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| resourceName | string | |
|
18
|
-
| params | [RequestParams](./foundation-comms.requestparams.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) > [createResourcesMessage](./foundation-comms.defaultmessagebuilder.createresourcesmessage.md)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder.createResourcesMessage() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| params | [RequestParams](./foundation-comms.requestparams.md) | _(Optional)_ |
|
18
|
-
|
19
|
-
**Returns:**
|
20
|
-
|
21
|
-
[Message](./foundation-comms.message.md)<!-- --><T>
|
22
|
-
|
@@ -1,41 +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)
|
4
|
-
|
5
|
-
## DefaultMessageBuilder class
|
6
|
-
|
7
|
-
Default MessageBuilder implementation.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
export declare class DefaultMessageBuilder implements MessageBuilder
|
13
|
-
```
|
14
|
-
**Implements:** [MessageBuilder](./foundation-comms.messagebuilder.md)
|
15
|
-
|
16
|
-
## Constructors
|
17
|
-
|
18
|
-
| Constructor | Modifiers | Description |
|
19
|
-
| --- | --- | --- |
|
20
|
-
| [(constructor)(session, uuid)](./foundation-comms.defaultmessagebuilder._constructor_.md) | | UUID will be created in the DI with the App specific requirements. Keeping it encapsulated means messages will always conform. |
|
21
|
-
|
22
|
-
## Methods
|
23
|
-
|
24
|
-
| Method | Modifiers | Description |
|
25
|
-
| --- | --- | --- |
|
26
|
-
| [createChangePasswordMessage(username, oldPassword, newPassword)](./foundation-comms.defaultmessagebuilder.createchangepasswordmessage.md) | | |
|
27
|
-
| [createCommitMessage(eventName, params)](./foundation-comms.defaultmessagebuilder.createcommitmessage.md) | | |
|
28
|
-
| [createDataLogoffMessage(sourceRef)](./foundation-comms.defaultmessagebuilder.createdatalogoffmessage.md) | | |
|
29
|
-
| [createDataLogonMessage(resourceName, params)](./foundation-comms.defaultmessagebuilder.createdatalogonmessage.md) | | |
|
30
|
-
| [createForgotPasswordMessage(username, returnUrl, requester)](./foundation-comms.defaultmessagebuilder.createforgotpasswordmessage.md) | | |
|
31
|
-
| [createForgotPasswordTokenMessage(username, resetToken, newPassword, requester)](./foundation-comms.defaultmessagebuilder.createforgotpasswordtokenmessage.md) | | |
|
32
|
-
| [createHTTPHeadersFromMessage(message, contentType)](./foundation-comms.defaultmessagebuilder.createhttpheadersfrommessage.md) | | |
|
33
|
-
| [createLoginMessage(credentials)](./foundation-comms.defaultmessagebuilder.createloginmessage.md) | | |
|
34
|
-
| [createLogoutMessage(loginResult)](./foundation-comms.defaultmessagebuilder.createlogoutmessage.md) | | |
|
35
|
-
| [createMetaRequestMessage(resourceName, messageType)](./foundation-comms.defaultmessagebuilder.createmetarequestmessage.md) | | |
|
36
|
-
| [createMoreColumnsMessage(sourceRef)](./foundation-comms.defaultmessagebuilder.createmorecolumnsmessage.md) | | |
|
37
|
-
| [createMoreRowsMessage(sourceRef)](./foundation-comms.defaultmessagebuilder.createmorerowsmessage.md) | | |
|
38
|
-
| [createRefreshTokenMessage()](./foundation-comms.defaultmessagebuilder.createrefreshtokenmessage.md) | | |
|
39
|
-
| [createRequestMessage(resourceName, params)](./foundation-comms.defaultmessagebuilder.createrequestmessage.md) | | |
|
40
|
-
| [createResourcesMessage(params)](./foundation-comms.defaultmessagebuilder.createresourcesmessage.md) | | |
|
41
|
-
|
@@ -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) > [DefaultNetworkMonitor](./foundation-comms.defaultnetworkmonitor.md) > [addResource](./foundation-comms.defaultnetworkmonitor.addresource.md)
|
4
|
-
|
5
|
-
## DefaultNetworkMonitor.addResource() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
addResource(resource: MonitoredResource, metadata: MonitoredResourceMetadata): void;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| resource | [MonitoredResource](./foundation-comms.monitoredresource.md) | The resource reference. |
|
18
|
-
| metadata | [MonitoredResourceMetadata](./foundation-comms.monitoredresourcemetadata.md) | The resource metadata. |
|
19
|
-
|
20
|
-
**Returns:**
|
21
|
-
|
22
|
-
void
|
23
|
-
|
@@ -1,16 +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) > [DefaultNetworkMonitor](./foundation-comms.defaultnetworkmonitor.md) > [create](./foundation-comms.defaultnetworkmonitor.create.md)
|
4
|
-
|
5
|
-
## DefaultNetworkMonitor.create() method
|
6
|
-
|
7
|
-
|
8
|
-
**Signature:**
|
9
|
-
|
10
|
-
```typescript
|
11
|
-
create(): void;
|
12
|
-
```
|
13
|
-
**Returns:**
|
14
|
-
|
15
|
-
void
|
16
|
-
|
@@ -1,16 +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) > [DefaultNetworkMonitor](./foundation-comms.defaultnetworkmonitor.md) > [destroy](./foundation-comms.defaultnetworkmonitor.destroy.md)
|
4
|
-
|
5
|
-
## DefaultNetworkMonitor.destroy() method
|
6
|
-
|
7
|
-
|
8
|
-
**Signature:**
|
9
|
-
|
10
|
-
```typescript
|
11
|
-
destroy(): void;
|
12
|
-
```
|
13
|
-
**Returns:**
|
14
|
-
|
15
|
-
void
|
16
|
-
|
@@ -1,31 +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) > [DefaultNetworkMonitor](./foundation-comms.defaultnetworkmonitor.md)
|
4
|
-
|
5
|
-
## DefaultNetworkMonitor class
|
6
|
-
|
7
|
-
Default NetworkMonitor implementation.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
export declare class DefaultNetworkMonitor implements NetworkMonitor
|
13
|
-
```
|
14
|
-
**Implements:** [NetworkMonitor](./foundation-comms.networkmonitor.md)
|
15
|
-
|
16
|
-
## Properties
|
17
|
-
|
18
|
-
| Property | Modifiers | Type | Description |
|
19
|
-
| --- | --- | --- | --- |
|
20
|
-
| [runAllChecks](./foundation-comms.defaultnetworkmonitor.runallchecks.md) | | (source?: unknown, force?: boolean) => Promise<void> | |
|
21
|
-
| [status](./foundation-comms.defaultnetworkmonitor.status.md) | | [SystemHealthStatus](./foundation-comms.systemhealthstatus.md) | |
|
22
|
-
|
23
|
-
## Methods
|
24
|
-
|
25
|
-
| Method | Modifiers | Description |
|
26
|
-
| --- | --- | --- |
|
27
|
-
| [addResource(resource, metadata)](./foundation-comms.defaultnetworkmonitor.addresource.md) | | |
|
28
|
-
| [create()](./foundation-comms.defaultnetworkmonitor.create.md) | | |
|
29
|
-
| [destroy()](./foundation-comms.defaultnetworkmonitor.destroy.md) | | |
|
30
|
-
| [removeResource(resource)](./foundation-comms.defaultnetworkmonitor.removeresource.md) | | |
|
31
|
-
|
@@ -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) > [DefaultNetworkMonitor](./foundation-comms.defaultnetworkmonitor.md) > [removeResource](./foundation-comms.defaultnetworkmonitor.removeresource.md)
|
4
|
-
|
5
|
-
## DefaultNetworkMonitor.removeResource() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
removeResource(resource: MonitoredResource): void;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| resource | [MonitoredResource](./foundation-comms.monitoredresource.md) | The resource reference. |
|
18
|
-
|
19
|
-
**Returns:**
|
20
|
-
|
21
|
-
void
|
22
|
-
|
@@ -1,11 +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) > [DefaultNetworkMonitor](./foundation-comms.defaultnetworkmonitor.md) > [runAllChecks](./foundation-comms.defaultnetworkmonitor.runallchecks.md)
|
4
|
-
|
5
|
-
## DefaultNetworkMonitor.runAllChecks property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
runAllChecks: (source?: unknown, force?: boolean) => Promise<void>;
|
11
|
-
```
|
@@ -1,12 +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) > [DefaultNetworkMonitor](./foundation-comms.defaultnetworkmonitor.md) > [status](./foundation-comms.defaultnetworkmonitor.status.md)
|
4
|
-
|
5
|
-
## DefaultNetworkMonitor.status property
|
6
|
-
|
7
|
-
|
8
|
-
**Signature:**
|
9
|
-
|
10
|
-
```typescript
|
11
|
-
status: SystemHealthStatus;
|
12
|
-
```
|
@@ -1,13 +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) > [defaultNetworkMonitorConfig](./foundation-comms.defaultnetworkmonitorconfig.md)
|
4
|
-
|
5
|
-
## defaultNetworkMonitorConfig variable
|
6
|
-
|
7
|
-
Default NetworkMonitorConfig DI implementation.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
defaultNetworkMonitorConfig: NetworkMonitorConfig
|
13
|
-
```
|
@@ -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) > [DefaultSocket](./foundation-comms.defaultsocket.md) > [(constructor)](./foundation-comms.defaultsocket._constructor_.md)
|
4
|
-
|
5
|
-
## DefaultSocket.(constructor)
|
6
|
-
|
7
|
-
Constructs a new instance of the `DefaultSocket` class
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
constructor(messageBuilder: MessageBuilder, session: Session, serializer: JSONSerializer, uuid: UUID, status: SocketStatus);
|
13
|
-
```
|
14
|
-
|
15
|
-
## Parameters
|
16
|
-
|
17
|
-
| Parameter | Type | Description |
|
18
|
-
| --- | --- | --- |
|
19
|
-
| messageBuilder | [MessageBuilder](./foundation-comms.messagebuilder.md) | |
|
20
|
-
| session | [Session](./foundation-comms.session.md) | |
|
21
|
-
| serializer | JSONSerializer | |
|
22
|
-
| uuid | UUID | |
|
23
|
-
| status | [SocketStatus](./foundation-comms.socketstatus.md) | |
|
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) > [DefaultSocket](./foundation-comms.defaultsocket.md) > [connect](./foundation-comms.defaultsocket.connect.md)
|
4
|
-
|
5
|
-
## DefaultSocket.connect() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
connect(host: string, connectOptions?: SocketConnectOptions, reconnectOptions?: SocketReconnectOptions): Promise<boolean>;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| host | string | |
|
18
|
-
| connectOptions | [SocketConnectOptions](./foundation-comms.socketconnectoptions.md) | _(Optional)_ |
|
19
|
-
| reconnectOptions | [SocketReconnectOptions](./foundation-comms.socketreconnectoptions.md) | _(Optional)_ |
|
20
|
-
|
21
|
-
**Returns:**
|
22
|
-
|
23
|
-
Promise<boolean>
|
24
|
-
|
@@ -1,13 +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) > [DefaultSocket](./foundation-comms.defaultsocket.md) > [hasValidSession](./foundation-comms.defaultsocket.hasvalidsession.md)
|
4
|
-
|
5
|
-
## DefaultSocket.hasValidSession property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
get hasValidSession(): boolean;
|
11
|
-
|
12
|
-
set hasValidSession(value: boolean);
|
13
|
-
```
|
@@ -1,11 +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) > [DefaultSocket](./foundation-comms.defaultsocket.md) > [isConfigured](./foundation-comms.defaultsocket.isconfigured.md)
|
4
|
-
|
5
|
-
## DefaultSocket.isConfigured property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
get isConfigured(): boolean;
|
11
|
-
```
|
@@ -1,11 +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) > [DefaultSocket](./foundation-comms.defaultsocket.md) > [isConnected](./foundation-comms.defaultsocket.isconnected.md)
|
4
|
-
|
5
|
-
## DefaultSocket.isConnected property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
get isConnected(): boolean;
|
11
|
-
```
|
@@ -1,11 +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) > [DefaultSocket](./foundation-comms.defaultsocket.md) > [isConnectedSubject](./foundation-comms.defaultsocket.isconnectedsubject.md)
|
4
|
-
|
5
|
-
## DefaultSocket.isConnectedSubject property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
get isConnectedSubject(): import("rxjs").BehaviorSubject<boolean>;
|
11
|
-
```
|
@@ -1,11 +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) > [DefaultSocket](./foundation-comms.defaultsocket.md) > [isConnecting](./foundation-comms.defaultsocket.isconnecting.md)
|
4
|
-
|
5
|
-
## DefaultSocket.isConnecting property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
get isConnecting(): boolean;
|
11
|
-
```
|
@@ -1,11 +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) > [DefaultSocket](./foundation-comms.defaultsocket.md) > [isDisconnected](./foundation-comms.defaultsocket.isdisconnected.md)
|
4
|
-
|
5
|
-
## DefaultSocket.isDisconnected property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
get isDisconnected(): boolean;
|
11
|
-
```
|
@@ -1,11 +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) > [DefaultSocket](./foundation-comms.defaultsocket.md) > [isDisconnectedByServer](./foundation-comms.defaultsocket.isdisconnectedbyserver.md)
|
4
|
-
|
5
|
-
## DefaultSocket.isDisconnectedByServer property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
get isDisconnectedByServer(): boolean;
|
11
|
-
```
|
@@ -1,11 +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) > [DefaultSocket](./foundation-comms.defaultsocket.md) > [isReconnecting](./foundation-comms.defaultsocket.isreconnecting.md)
|
4
|
-
|
5
|
-
## DefaultSocket.isReconnecting property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
get isReconnecting(): boolean;
|
11
|
-
```
|
@@ -1,44 +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) > [DefaultSocket](./foundation-comms.defaultsocket.md)
|
4
|
-
|
5
|
-
## DefaultSocket class
|
6
|
-
|
7
|
-
Default Socket implementation.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
export declare class DefaultSocket implements Socket
|
13
|
-
```
|
14
|
-
**Implements:** [Socket](./foundation-comms.socket.md)
|
15
|
-
|
16
|
-
## Constructors
|
17
|
-
|
18
|
-
| Constructor | Modifiers | Description |
|
19
|
-
| --- | --- | --- |
|
20
|
-
| [(constructor)(messageBuilder, session, serializer, uuid, status)](./foundation-comms.defaultsocket._constructor_.md) | | Constructs a new instance of the <code>DefaultSocket</code> class |
|
21
|
-
|
22
|
-
## Properties
|
23
|
-
|
24
|
-
| Property | Modifiers | Type | Description |
|
25
|
-
| --- | --- | --- | --- |
|
26
|
-
| [hasValidSession](./foundation-comms.defaultsocket.hasvalidsession.md) | | boolean | |
|
27
|
-
| [isConfigured](./foundation-comms.defaultsocket.isconfigured.md) | <code>readonly</code> | boolean | |
|
28
|
-
| [isConnected](./foundation-comms.defaultsocket.isconnected.md) | <code>readonly</code> | boolean | |
|
29
|
-
| [isConnectedSubject](./foundation-comms.defaultsocket.isconnectedsubject.md) | <code>readonly</code> | import("rxjs").BehaviorSubject<boolean> | |
|
30
|
-
| [isConnecting](./foundation-comms.defaultsocket.isconnecting.md) | <code>readonly</code> | boolean | |
|
31
|
-
| [isDisconnected](./foundation-comms.defaultsocket.isdisconnected.md) | <code>readonly</code> | boolean | |
|
32
|
-
| [isDisconnectedByServer](./foundation-comms.defaultsocket.isdisconnectedbyserver.md) | <code>readonly</code> | boolean | |
|
33
|
-
| [isReconnecting](./foundation-comms.defaultsocket.isreconnecting.md) | <code>readonly</code> | boolean | |
|
34
|
-
| [socketMessages](./foundation-comms.defaultsocket.socketmessages.md) | | () => [SocketSubject](./foundation-comms.socketsubject.md)<!-- --><[Message](./foundation-comms.message.md)<!-- -->> | |
|
35
|
-
|
36
|
-
## Methods
|
37
|
-
|
38
|
-
| Method | Modifiers | Description |
|
39
|
-
| --- | --- | --- |
|
40
|
-
| [connect(host, connectOptions, reconnectOptions)](./foundation-comms.defaultsocket.connect.md) | | |
|
41
|
-
| [reset()](./foundation-comms.defaultsocket.reset.md) | | |
|
42
|
-
| [send(message, needsHandling)](./foundation-comms.defaultsocket.send.md) | | |
|
43
|
-
| [sendForStream(message, onMessage, onError, onComplete)](./foundation-comms.defaultsocket.sendforstream.md) | | |
|
44
|
-
|
@@ -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) > [DefaultSocket](./foundation-comms.defaultsocket.md) > [reset](./foundation-comms.defaultsocket.reset.md)
|
4
|
-
|
5
|
-
## DefaultSocket.reset() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
reset(): void;
|
11
|
-
```
|
12
|
-
**Returns:**
|
13
|
-
|
14
|
-
void
|
15
|
-
|
@@ -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) > [DefaultSocket](./foundation-comms.defaultsocket.md) > [send](./foundation-comms.defaultsocket.send.md)
|
4
|
-
|
5
|
-
## DefaultSocket.send() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
send<T>(message: Message<T | any>, needsHandling?: boolean): Promise<Message | any>;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| message | [Message](./foundation-comms.message.md)<!-- --><T \| any> | |
|
18
|
-
| needsHandling | boolean | _(Optional)_ |
|
19
|
-
|
20
|
-
**Returns:**
|
21
|
-
|
22
|
-
Promise<[Message](./foundation-comms.message.md) \| any>
|
23
|
-
|
@@ -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) > [DefaultSocket](./foundation-comms.defaultsocket.md) > [sendForStream](./foundation-comms.defaultsocket.sendforstream.md)
|
4
|
-
|
5
|
-
## DefaultSocket.sendForStream() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
sendForStream<T>(message: Message<T | any>, onMessage: Function, onError: Function, onComplete?: Function): Observable<Message>;
|
11
|
-
```
|
12
|
-
|
13
|
-
## Parameters
|
14
|
-
|
15
|
-
| Parameter | Type | Description |
|
16
|
-
| --- | --- | --- |
|
17
|
-
| message | [Message](./foundation-comms.message.md)<!-- --><T \| any> | |
|
18
|
-
| onMessage | Function | |
|
19
|
-
| onError | Function | |
|
20
|
-
| onComplete | Function | _(Optional)_ |
|
21
|
-
|
22
|
-
**Returns:**
|
23
|
-
|
24
|
-
Observable<[Message](./foundation-comms.message.md)<!-- -->>
|
25
|
-
|
@@ -1,11 +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) > [DefaultSocket](./foundation-comms.defaultsocket.md) > [socketMessages](./foundation-comms.defaultsocket.socketmessages.md)
|
4
|
-
|
5
|
-
## DefaultSocket.socketMessages property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
socketMessages: () => SocketSubject<Message>;
|
11
|
-
```
|
@@ -1,11 +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) > [DefaultSocketStatus](./foundation-comms.defaultsocketstatus.md) > [closedClean](./foundation-comms.defaultsocketstatus.closedclean.md)
|
4
|
-
|
5
|
-
## DefaultSocketStatus.closedClean property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
closedClean: any;
|
11
|
-
```
|
@@ -1,11 +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) > [DefaultSocketStatus](./foundation-comms.defaultsocketstatus.md) > [closedCode](./foundation-comms.defaultsocketstatus.closedcode.md)
|
4
|
-
|
5
|
-
## DefaultSocketStatus.closedCode property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
closedCode: any;
|
11
|
-
```
|
@@ -1,11 +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) > [DefaultSocketStatus](./foundation-comms.defaultsocketstatus.md) > [closedReason](./foundation-comms.defaultsocketstatus.closedreason.md)
|
4
|
-
|
5
|
-
## DefaultSocketStatus.closedReason property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
closedReason: any;
|
11
|
-
```
|