build

Builds the ServerSentEvent. If no fields are set, produces an empty SSE keepalive event.