Home > Backend Development > PHP Tutorial > phprpc百度ping

phprpc百度ping

WBOY
Release: 2016-06-23 13:58:28
Original
893 people have browsed it

百度的文档是这样的:

自动Ping的XML_RPC

发送给百度Ping服务的XML-RPC客户请求需要包含如下元素:
RPC端点: http://ping.baidu.com/ping/RPC2
调用方法名: weblogUpdates.extendedPing



其他我都还看得懂,调用方法名那个,中间有个点是毛意思?
我这样写不对啊
$rpcServer->weblogUpdates.extendedPing
Copy after login

感觉有点不对劲,又换成这样

$rpcServer->weblogUpdates->extendedPing
Copy after login


还是不行。这到底是怎样写的?


回复讨论(解决方案)

weblogUpdates  这是一个服务名称,而后面extendedPing则是需要调用的方法。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template