Method | Description | |
---|---|---|
GetParameterValue ( string name ) : string |
Returns the value of a parameter or null if it doesn't exist. You should only use this method if you're sure the parameter has only one value. If you need to support multiple values use GetParameterValues.
|
|
GetParameterValues ( string name ) : IEnumerable |
Returns the values of a parameter or an empty enumerable if the parameter doesn't exist.
|
|
HasParameter ( string name ) : bool |
Returns true if the parameter has any values. False otherwise
|
|
MultipartFormDataParser ( |
Initializes a new instance of the MultipartFormDataParser class with an input stream. Boundary will be automatically detected based on the first line of input.
|
|
MultipartFormDataParser ( |
Initializes a new instance of the MultipartFormDataParser class with the input stream and stream encoding. Boundary is automatically detected.
|
|
MultipartFormDataParser ( |
Initializes a new instance of the MultipartFormDataParser class with the stream, input encoding and buffer size. Boundary is automatically detected.
|
|
MultipartFormDataParser ( |
Initializes a new instance of the MultipartFormDataParser class with the boundary and input stream.
|
|
MultipartFormDataParser ( |
Initializes a new instance of the MultipartFormDataParser class with the boundary, input stream and stream encoding.
|
|
MultipartFormDataParser ( |
Initializes a new instance of the MultipartFormDataParser class with the boundary, stream, input encoding and buffer size.
|
public GetParameterValue ( string name ) : string | ||
name | string | The name of the parameter |
return | string |
public GetParameterValues ( string name ) : IEnumerable |
||
name | string | The name of the parameter |
return | IEnumerable |
public HasParameter ( string name ) : bool | ||
name | string | The name of the parameter |
return | bool |
public MultipartFormDataParser ( |
||
stream | /// The stream containing the multipart data /// | |
return | System.Collections.Generic |
public MultipartFormDataParser ( |
||
stream | /// The stream containing the multipart data /// | |
encoding | /// The encoding of the multipart data /// | |
return | System.Collections.Generic |
public MultipartFormDataParser ( |
||
stream | /// The stream containing the multipart data /// | |
encoding | /// The encoding of the multipart data /// | |
binaryBufferSize | int | /// The size of the buffer to use for parsing the multipart form data. This must be larger /// then (size of boundary + 4 + # bytes in newline). /// |
return | System.Collections.Generic |
public MultipartFormDataParser ( |
||
stream | /// The stream containing the multipart data /// | |
boundary | string | /// The multipart/form-data boundary. This should be the value /// returned by the request header. /// |
return | System.Collections.Generic |
public MultipartFormDataParser ( |
||
stream | /// The stream containing the multipart data /// | |
boundary | string | /// The multipart/form-data boundary. This should be the value /// returned by the request header. /// |
encoding | /// The encoding of the multipart data /// | |
return | System.Collections.Generic |
public MultipartFormDataParser ( |
||
stream | /// The stream containing the multipart data /// | |
boundary | string | /// The multipart/form-data boundary. This should be the value /// returned by the request header. /// |
encoding | /// The encoding of the multipart data /// | |
binaryBufferSize | int | /// The size of the buffer to use for parsing the multipart form data. This must be larger /// then (size of boundary + 4 + # bytes in newline). /// |
return | System.Collections.Generic |