Skip to content

Miscellaneous

isSSERequest()

isSSERequest() — returns boolean

Available in: controller

Check if the current request is from an EventSource client. Useful for conditionally rendering SSE vs HTML responses.