pub type OrthancPluginServerChunkedRequestReaderFinalize = Option<unsafe extern "C" fn(reader: *mut OrthancPluginServerChunkedRequestReader)>;
Expand description
@brief Callback invoked to release the resources associated with an incoming HTTP chunked transfer.
Signature of a callback function that is called by Orthanc acting as a HTTP server that supports chunked HTTP transfers. This callback is invoked to release all the resources allocated by the given reader. Note that this function might be invoked even if the entire body was not read, to deal with client error or disconnection.
@see OrthancPluginRegisterChunkedRestCallback() @param reader The user payload, as created by the OrthancPluginServerChunkedRequestReaderFactory() callback.
Aliased Type§
pub enum OrthancPluginServerChunkedRequestReaderFinalize {
None,
Some(unsafe extern "C" fn(*mut _OrthancPluginServerChunkedRequestReader_t)),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(*mut _OrthancPluginServerChunkedRequestReader_t))
Some value of type T
.