matlab.net.http.。进展class
Package:matlab.net.http.
Superclasses:handle
Progress monitor for HTTP message exchange
Description
Use the进展
类以实现HTTP请求消息的进度监视器。进度监视器侦听此类属性的更改,以实现您选择的显示或更新。
要实现进度监视器,请创建此类的子类。然后创建一个HTTPOptions
对象,指定子类作为进展Fcn
property, and set theUseProgressMonitor
property to真的
。
An HTTP request starts when you call theRequestMessage.send.send.send.
方法。The process might involve multiple messages in both directions in the case of redirects and authentication. MATLAB®calls the完毕
method when all transfers have been completed.
During a transfer:
Matlab套装the
Max
,CANDECCN.
, 和方向
你打电话的物业RequestMessage.send.send.send.
。Matlab套装the
价值
property repeatedly as the body of the request message is sent to indicate the number of bytes transferred.When receipt of the
回复Message
begins, MATLAB sets方向
to回复
再次套装价值
repeatedly.To cancel the transfer at any time, call the
CANDECCN.
function. This action is the same as interrupting the发送
function in the Command Window.
您可以显示图形进度指示符或其他迹象方向
更改回复
。For each subsequent价值
, update the indicator to the current价值
。You can also use this mechanism to monitor progress programmatically.
Thematlab.net.http.。进展
班级是A.handle
class.
Creation
obj = matlab.net.http.progress monitor(名称,值)
creates a progress monitor with additional properties specified by one, or more name-value pair arguments.Name
is the property name and价值
is the corresponding value. You can specify several name-value pair arguments in any order asname1,value1,...,namen,valuen
。Unspecified properties are set to their default values.