rsocket / rsocket-js

JavaScript implementation of RSocket
https://github.com/rsocket/rsocket-js
Apache License 2.0
604 stars 97 forks source link

Add SetupPayload type, and use SetupPayload for getRequestHandler #194

Open linux-china opened 2 years ago

linux-china commented 2 years ago

Now setupPayload contains data and metadata only, and it should contains keepLive, lifetime, metadataMimeType, dataMimeType attributes. metadataMimeType and dataMimeType is very useful for data encoding/decoding on connection level.

OlegDokuka commented 2 years ago

@linux-china can you please sign your commits and I will merge the PR

Thanks!

linux-china commented 2 years ago

@OlegDokuka I used Github Codespaces to modify the code and forgot to sign the comments. commit sign required for merge?