y#V ` ` A#V <#V ` 2#V p p =#V <P#V G#V p t#V <#V >v#V ` p#V P P B#V <܍#V @ +^#V >#V " D#V P t#V =y#V P Ay#V ` A#V <#V ` 2#V p =#V <P#V 0 G#V p t#V <#V >^#V @ >@3S+ Q+ 3S+ `3S+ HQ+ 3S+ Q+ ] /** * Add per-post Publicize Connection data. * * { # Post Object * ... * jetpack_publicize_connections: { # Defined below in this file. See schema for more detail. * id: (string) Connection unique_id * service_name: (string) Service slug * display_name: (string) User name/display name of user/connection on Service * profile_picture: (string) Profile picture of user/connection on Service * enabled: (boolean) Is this connection slated to be shared to? context=edit only * done: (boolean) Is this post (or connection) done sharing? context=edit only * toggleable: (boolean) Can the current user change the `enabled` setting for this Connection+Post? context=edit only * } * ... * meta: { # Not defined in this file. Handled in modules/publicize/publicize.php via `register_meta()` * jetpack_publicize_feature_enabled: (boolean) Is this publicize feature enabled? * jetpack_publicize_message: (string) The message to use instead of the post's title when sharing. * } * ... * } * * @since 6.8.0 */ + ?Q+ @Q+ HXQ+ `XQ+ xXQ+ 8XQ+ XQ+ @ + Q+ #V P ?#V ` ?#V p ?N#V ` R#V [ݘ#V s܍#V @ +^#V >P#V HQ0 p#V P P B#V ` P ^#V ` B#V <#V @ Mv#V NN#V &B#V ` ܍#V +#V p =N#V ` 0 R#V 0 P uĶ#V ` u#V <Z#V *#V =N#V ` P R#V P P uĶ#V ` uĶ#V p u#V <Z#V *^#V N#V ` RȬ#V ð p U#V p yV ^#V > + _Q+ (aQ+ M @ @ + |R+ ]Q+ @ M 0Q+ Q+ Q+ 5X3}JpQ+ Q+ JglQ+ еQ+ qt`Q+ Q+ JaCG Q+ Q+ ͥN_~ીQ+ pQ+ v AQ+ PQ+ }j@8Q+ 0Q+ jִQ+ Q+ O ݧQ+ Q+ S IQ+ hhR+ ߢ>b R+ Request options to apply. * * @throws GuzzleException */ public function delete($uri, array $options = []): ResponseInterface { return $this->request('DELETE', $uri, $options); } /** * Create and send an asynchronous HTTP request. * * Use an absolute path to override the base path of the client, or a * relative path to append to the base path of the client. The URL can * contain the query string as well. Use an array to provide a URL * template and additional variables to use in the URL template expansion. * * @param string $method HTTP method * @param string|UriInterface $uri URI object or string. * @param array $options Request options to apply. */ abstract public function requestAsync(string $method, $uri, array $options = []): PromiseInterface; /** * Create and send an asynchronous HTTP GET request. * * Use an absolute path to override the base path of the client, or a * relative path to append to the base path of the client. The URL can * contain the query string as well. Use an array to provide a URL * template and additional variables to use in the URL template expansion. * * @param string|UriInterface $uri URI object or string. * @param array $options Request options to apply. */ public function getAsync($uri, array $options = []): PromiseInterface { return $this->requestAsync('GET', $uri, $options); } /** * Create and send an asynchronous HTTP HEAD request. * * Use an absolute path to override the base path of the client, or a * relative path to append to the base path of the client. The URL can * contain the query string as well. Use an array to provide a URL * template and additional variables to use in the URL template expansion. * * @param string|UriInterface $uri URI object or string. * @param array $options Request options to apply. */ public function headAsync($uri, array $options = []): PromiseInterface { return $this->requestAsync('HEAD', $uri, $options); } /** * Create and send an asynchronous HTTP PUT request. * * Use an absolute path to override the base path of the client, or a * relative path to append to the base path of the client. The URL can * contain the query string as well. Use an array to provide a URL * template and additional variables to use in the URL template expansion. * * @param string|UriInterface $uri URI object or string. * @param array $options Request options to apply. */ public function putAsync($uri, array $options = []): PromiseInterface { return $this->requestAsync('PUT', $uri, $options); } /** * Create and send an asynchronous HTTP POST request. * * Use an absolute path to override the base path of the client, or a * relative path to append to the base path of the client. The URL can * contain the query string as well. Use an array to provide a URL * template and additional variables to use in the URL template expansion. * * @param string|UriInterface $uri URI object or string. * @param array $options Request options to apply. */ public function postAsync($uri, array $options = []): PromiseInterface { return $this->requestAsync('POST', $uri, $options); } /** * Create and send an asynchronous HTTP PATCH request. * * Use an absolute path to override the base path of the client, or a * relative path to append to the base path of the client. The URL can * contain the query string as well. Use an array to provide a URL * template and additional variables to use in the URL template expansion. * * @param string|UriInterface $uri URI object or string. * @param array $options Request options to apply. */ public function patchAsync($uri, array $options = []): PromiseInterface { return $this->requestAsync('PATCH', $uri, $options); } /** * Create and send an asynchronous HTTP DELETE request. * * Use an absolute path to override the base path of the client, or a * relative path to append to the base path of the client. The URL can * contain the query string as well. Use an array to provide a URL * template and additional variables to use in the URL template expansion. * * @param string|UriInterface $uri URI object or string. * @param array $options Request options to apply. */ public function deleteAsync($uri, array $options = []): PromiseInterface { return $this->requestAsync('DELETE', $uri, $options); } }