lookup> Last-Event-ID

Last-Event-ID

The value of the event source's last event ID string, encoded as UTF-8.

请求头Server-Sent Events
NameLast-Event-ID
Type请求头
SpecificationServer-Sent Events

The value of the event source's last event ID string, encoded as UTF-8.

Last-Event-ID: 42

Server-Sent Events

What does the Last-Event-ID header do?

The value of the event source's last event ID string, encoded as UTF-8.

Is Last-Event-ID a request or response header?

It is classified as a request header and can appear in requests or responses depending on context.