Media |
This is preliminary documentation and is subject to change.
The MediaWikiFormRequestMessage type exposes the following members.
Name | Description | |
---|---|---|
MediaWikiFormRequestMessage(Object) | Initializes a new instance of the MediaWikiFormRequestMessage class | |
MediaWikiFormRequestMessage(Object, Boolean) | Initializes a new instance of the MediaWikiFormRequestMessage class | |
MediaWikiFormRequestMessage(String, Object, Boolean) | Initializes a new instance of the MediaWikiFormRequestMessage class |
Name | Description | |
---|---|---|
AsMultipartFormData | Determines whether this message should be marshaled in multipart/form-data MIME type. | |
Fields | Gets a read-only list of all the fields in the form. | |
Id |
Id of the request, for tracing.
(Inherited from WikiRequestMessage) |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetHttpContent |
Gets the HttpContent corresponding to this message.
(Overrides WikiRequestMessageGetHttpContent) | |
GetHttpMethod |
Gets the HTTP method used to send the request.
(Overrides WikiRequestMessageGetHttpMethod) | |
GetHttpQuery |
Gets the URI query part for the endpoint invocation.
(Overrides WikiRequestMessageGetHttpQuery) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString | Returns a string that represents the current object. (Inherited from WikiRequestMessage) |
This is the primary message type used in the WikiClientLibrary. This type provides some useful functionalities such as constructing fields from anonymous objects, and simple type (e.g. DateTime) marshalling. while overriding the rest.
This message can be later converted into application/x-www-form-urlencoded or multipart/form-data http content.
When converting the form into HttpContent, the values are marshaled in the following way
This message uses POST method to invoke API requests.