sse_encode_StreamSink_my_notification_Sse method
- @protected
- RustStreamSink<
MyNotification> self, - SseSerializer serializer
override
Implementation
@protected
void sse_encode_StreamSink_my_notification_Sse(
RustStreamSink<MyNotification> self, SseSerializer serializer) {
// Codec=Sse (Serialization based), see doc to use other codecs
sse_encode_String(
self.setupAndSerialize(
codec: SseCodec(
decodeSuccessData: sse_decode_my_notification,
decodeErrorData: null)),
serializer);
}