HTTP Interface
The MATLAB RESTful web services functionswebread
,websave
,webwrite.
和支持功能万博1manbetxweboptions
, allow non-programmers to access many web services using HTTP GET and POST methods. For information about these functions, seeWeb Access.
However, some interactions with a web service are more complex and require functionality not supported by the RESTful web services functions. The MATLAB HTTP interface provides classes for writing web access applications. The interface includes classes for messages, their headers and fields, and other entities defined in互联网工程任务力量(IETF®)标准。该接口包含实现HTTP消息传递和实用程序的语义的函数,以处理发送和接收的数据。它还包含处理,传输和接收消息所需的万博1manbetx支持类。
Classes
Functions
matlab.net.base64decode |
Base 64 decoding of string |
matlab.net.base64 encode. |
BASE 64字节字符串或向量的编码 |
包装
matlab.net.http. |
Summary of packages and classes inMATLABHTTP接口 |
matlab.net.http..field |
Summary of header field classes inMATLABHTTP接口 |
matlab.net.http.io. |
Streaming content consumers and providers for HTTP messages |
Topics
Use the HTTP interface to issue properly structured HTTP requests and process their responses.
This example shows how to send a request to a server that involves redirection and might require digest authentication.
MATLAB HTTP界面自动将HTTP消息中使用的数据类型转换为来自MATLAB类型。
如何在HTTP消息中管理cookie。
Display Progress Monitor for HTTP Message
如何实现进度监视器。
Display Streamed Data in Figure Window
使用自定义StringConsumer从网站流数据,并在图窗口中显示结果。
Display JPEG Images Streamed from IP Camera
Stream video from a website using a MultipartConsumer.
使用MultiPart表单消息的提示。
Manually Redirect HTTP Messages
使用cookie手动处理重定向。