sse_encode_my_event method

  1. @protected
void sse_encode_my_event(
  1. MyEvent self,
  2. SseSerializer serializer
)
override

Implementation

@protected
void sse_encode_my_event(MyEvent self, SseSerializer serializer) {
  // Codec=Sse (Serialization based), see doc to use other codecs
  sse_encode_i_32(self.index, serializer);
}