/*************************************************************************** * * CurlS#arp * * Copyright (c) 2013-2017 Dr. Masroor Ehsan (masroore@gmail.com) * Portions copyright (c) 2004, 2005 Jeff Phillips (jeff@jeffp.net) * * This software is licensed as described in the file LICENSE, which you * should have received as part of this distribution. * * You may opt to use, copy, modify, merge, publish, distribute and/or sell * copies of this Software, and permit persons to whom the Software is * furnished to do so, under the terms of the LICENSE file. * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF * ANY KIND, either express or implied. * **************************************************************************/ using CurlSharp.Enums; namespace CurlSharp { /// /// Wraps the cURL struct CURLMsg. This class provides /// status information following a transfer. /// public sealed class CurlMultiInfo { // private members internal CurlMultiInfo(CurlMessage msg, CurlEasy curlEasy, CurlCode result) { Msg = msg; CurlEasyHandle = curlEasy; Result = result; } /// /// Get the status code from the enumeration. /// public CurlMessage Msg { get; } /// /// Get the object for this child. /// public CurlEasy CurlEasyHandle { get; } /// /// Get the return code for the transfer, as a /// . /// public CurlCode Result { get; } } }