Class JsonPayloadHandler
A payload handler that serializes the payload to json.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Okta.Sdk.Internal
Assembly: Okta.Sdk.dll
Syntax
public class JsonPayloadHandler : PayloadHandler, IPayloadHandler
Constructors
JsonPayloadHandler()
Initializes a new instance of the JsonPayloadHandler class.
Declaration
public JsonPayloadHandler()
Methods
GetRequestHttpContent(HttpRequest)
Get content for the specified request.
Declaration
protected override HttpContent GetRequestHttpContent(HttpRequest httpRequest)
Parameters
Type | Name | Description |
---|---|---|
HttpRequest | httpRequest | The request whose content is returned. |
Returns
Type | Description |
---|---|
System.Net.Http.HttpContent | Content for the specified request. |