Skip to main content

handle_poll

Function handle_poll 

Source
pub async fn handle_poll(
    req: HttpRequest,
    body: String,
    state: Data<AppState>,
) -> Result<HttpResponse, HaystackError>
Expand description

POST /api/watchPoll — poll for changes since last poll.

Request grid has watchId in the grid meta. Returns changed entities since last poll.