Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 646 Bytes

Schema.md

File metadata and controls

33 lines (18 loc) · 646 Bytes

Schema

A default schema for use with ReactiveSocket.

Version 0 – application/x.reactivesocket.v0+xxx

Metadata

Requests must contain fields used for routing:

Key: uri [REQUIRED]
Value: String

Non-request types have no specific keys, just "Object" encoded in the specificed encoding (ie. JSON, CBOR, etc)

MimeTypes for the above schema:

  • application/x.reactivesocket.v0+json (schema above encoded with JSON)
  • application/x.reactivesocket.v0+cbor (schema above encoded with CBOR)

Data

There is no specific schema so it is expected to use JSON, CBOR, etc as is.

  • application/cbor
  • application/json
  • etc