Title: WP_HTTP_Polling_Sync_Server
Published: May 20, 2026

---

# class WP_HTTP_Polling_Sync_Server {}

## In this article

 * [Methods](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/?output_format=md#methods)
 * [Source](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/?output_format=md#source)
 * [Changelog](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/?output_format=md#changelog)

This class’s access is marked private. This means it is not intended for use by 
plugin or theme developers, only by core. It is listed here for completeness.

Core class that contains an HTTP server used for collaborative editing.

## 󠀁[Methods](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/?output_format=md#methods)󠁿

| Name | Description | 
| [WP_HTTP_Polling_Sync_Server::__construct](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/__construct/) | Constructor. | 
| [WP_HTTP_Polling_Sync_Server::add_update](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/add_update/) | Adds an update to a room’s update list via storage. | 
| [WP_HTTP_Polling_Sync_Server::can_user_sync_entity_type](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/can_user_sync_entity_type/) | Checks if the current user can sync a specific entity type. | 
| [WP_HTTP_Polling_Sync_Server::check_permissions](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/check_permissions/) | Checks if the current user has permission to access a room. | 
| [WP_HTTP_Polling_Sync_Server::get_updates](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/get_updates/) | Gets sync updates for a specific client from a room after a given cursor. | 
| [WP_HTTP_Polling_Sync_Server::handle_request](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/handle_request/) | Handles request: stores sync updates and awareness data, and returns updates the client is missing. | 
| [WP_HTTP_Polling_Sync_Server::process_awareness_update](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/process_awareness_update/) | Processes and stores an awareness update from a client. | 
| [WP_HTTP_Polling_Sync_Server::process_sync_update](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/process_sync_update/) | Processes a sync update based on its type. | 
| [WP_HTTP_Polling_Sync_Server::register_routes](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/register_routes/) | Registers REST API routes. | 
| [WP_HTTP_Polling_Sync_Server::validate_request](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/validate_request/) | Validates that the request body does not exceed the maximum allowed size. |

## 󠀁[Source](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/?output_format=md#source)󠁿

[View all references](https://developer.wordpress.org/reference/files/wp-includes/collaboration/class-wp-http-polling-sync-server.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-includes/collaboration/class-wp-http-polling-sync-server.php#L14)

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/wp_http_polling_sync_server/?output_format=md#changelog)󠁿

| Version | Description | 
| [7.0.0](https://developer.wordpress.org/reference/since/7.0.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_http_polling_sync_server%2F)
before being able to contribute a note or feedback.