How to use the streamr-client-protocol.ControlLayer.PublishRequest function in streamr-client-protocol

To help you get started, we’ve selected a few streamr-client-protocol examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github streamr-dev / streamr-client-javascript / src / StreamrClient.js View on Github external
_requestPublish(streamMessage, sessionToken) {
        const request = ControlLayer.PublishRequest.create(streamMessage, sessionToken)
        debug('_requestPublish: %o', request)
        return this.connection.send(request)
    }

streamr-client-protocol

JavaScript classes implementing the Streamr client-to-node protocol

Apache-2.0
Latest version published 2 years ago

Package Health Score

61 / 100
Full package analysis

Similar packages