1.5.2 • Published 2 years ago

ifs_shm_http_client_ts v1.5.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

IF_SHM_CLIENT

@Author

Nabajyoti Sahoo

#Desc

a ts library to communicate with shm

To Build & Publish

npm run build

tsc

npm publish

To add current library dependency in your project

npm install --save ifs_shm_http_client_ts

To Use Library in Your Project

//import

import { IfShmClient } from 'ifs_shm_http_client_ts';

//initialize

IfShmClient.initialize('http://localhost:8080', '{authKey}');

//create or update a shm with json

const result = await IfShmClient.createOrUpdateShmByKeyWithFile(formData, this.shmKey,this.header, 'METADATASTRING', '', '600000');

//create or update shm with a file

const result = await IfShmClient.createOrUpdateShmByKeyWithJsonPayLoad(Object.fromEntries(this.body), this.shmKey,this.header, 'METADATASTRING', '', '600000');

//get shm by key

const text1 = await IfShmClient.getShmByKey( this.shmKey,this.header);

//delete shm by key

const text2 = await IfShmClient.deleteShmByKey( this.shmKey,this.header);

//get shm server info

const text4 = await IfShmClient.getShmServerInfo( this.header);

//check shm state

const text5 = await IfShmClient.checkShmStateByShmKey( this.shmKey,this.header);

//get shm tree with children

const text6 = await IfShmClient.getShmTreeForAShm( this.shmKey,this.header);

1.5.2

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.9

2 years ago

1.4.8

2 years ago

1.4.7

2 years ago

1.4.6

2 years ago

1.4.5

2 years ago

1.4.4

2 years ago

1.4.3

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.3.9

2 years ago

1.3.8

2 years ago

1.3.7

2 years ago

1.3.6

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.9

2 years ago

1.2.8

2 years ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.9

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago