1.5.2 • Published 3 years ago

ifs_shm_http_client_ts v1.5.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 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

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.9

3 years ago

1.4.8

3 years ago

1.4.7

3 years ago

1.4.6

3 years ago

1.4.5

3 years ago

1.4.4

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.3.9

3 years ago

1.3.8

3 years ago

1.3.7

3 years ago

1.3.6

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.9

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.9

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago