HttpMessage 接口

定义

An HTTPS message. An HTTPS message is distinguished from a plain IoT Hub message by its property names, which are prefixed with 'iothub-app-'; and by the explicit specification of a content-type.

public interface HttpMessage

字段

HTTPS_APP_PROPERTY_PREFIX

The prefix to be added to an HTTPS application-defined property.

方法

getBody()

Gets the message body.

getContentType()

Gets the content type string.

适用于