MCPcopy Index your code
hub / github.com/go-spring/go-spring / GetData

Method GetData

stdlib/httpsvr/handler.go:235–237  ·  view source on GitHub ↗

GetData returns the data of the SSE event.

()

Source from the content-addressed store, hash-verified

233
234// GetData returns the data of the SSE event.
235func (e *Event[T]) GetData() any {
236 return e.data
237}
238
239// HasRetry returns true if the SSE event has a retry interval.
240func (e *Event[T]) HasRetry() bool {

Callers 1

HandleStreamFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected