Files
UltimateFishing/Assets/Scripts/Assembly-CSharp/rail/IRailHttpSessionHelperImpl.cs
2026-02-21 16:45:37 +08:00

29 lines
752 B
C#

using System;
namespace rail
{
public class IRailHttpSessionHelperImpl : RailObject, IRailHttpSessionHelper
{
internal IRailHttpSessionHelperImpl(IntPtr cPtr)
{
swigCPtr_ = cPtr;
}
~IRailHttpSessionHelperImpl()
{
}
public virtual IRailHttpSession CreateHttpSession()
{
IntPtr intPtr = RAIL_API_PINVOKE.IRailHttpSessionHelper_CreateHttpSession(swigCPtr_);
return (!(intPtr == IntPtr.Zero)) ? new IRailHttpSessionImpl(intPtr) : null;
}
public virtual IRailHttpResponse CreateHttpResponse(string http_response_data)
{
IntPtr intPtr = RAIL_API_PINVOKE.IRailHttpSessionHelper_CreateHttpResponse(swigCPtr_, http_response_data);
return (!(intPtr == IntPtr.Zero)) ? new IRailHttpResponseImpl(intPtr) : null;
}
}
}