WordPress at a glance
filter is not described

wp_rest_server_class filter-hook . WP 4.4.0

Filters the REST Server Class.

This filter allows you to adjust the server class used by the API, using a different class to handle requests.

Usage

add_filter( 'wp_rest_server_class', 'filter_function_name_3110' );
function filter_function_name_3110( $class_name ){
	// filter...

	return $class_name;
}
$class_name(string)
The name of the server class.
Default: 'WP_REST_Server'

Where the hook is called

rest_get_server()
wp-includes/rest-api.php 448
$wp_rest_server_class = apply_filters( 'wp_rest_server_class', 'WP_REST_Server' );

Where the hook is used (in WP core)

Does not used.