OwinResponse.OnSendingHeaders Method (Action<Object>, Object)
Registers for an event that fires when the response headers are sent.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
public virtual void OnSendingHeaders(
Action<object> callback,
object state
)
public:
virtual void OnSendingHeaders(
Action<Object^>^ callback,
Object^ state
)
abstract OnSendingHeaders :
callback:Action<Object> *
state:Object -> unit
override OnSendingHeaders :
callback:Action<Object> *
state:Object -> unit
Public Overridable Sub OnSendingHeaders (
callback As Action(Of Object),
state As Object
)
Parameters
callback
Type: System.Action<Object>The callback method.
state
Type: System.ObjectThe callback state.
Implements
IOwinResponse.OnSendingHeaders(Action<Object>, Object)
See Also
OwinResponse Class
Microsoft.Owin Namespace
Return to top