rsocket-js
rsocket-js copied to clipboard
Add SetupPayload type, and use SetupPayload for getRequestHandler
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.
@linux-china can you please sign your commits and I will merge the PR
Thanks!
@OlegDokuka I used Github Codespaces to modify the code and forgot to sign the comments. commit sign required for merge?