private static void Asynchronous(IntPtr info) { ObjectAuxiliary.GetOrSetProperty <HTTPContext>(info, (context) => context.Asynchronous, (context, value) => context.Asynchronous = value); }
private static void NoDelay(IntPtr info) { ObjectAuxiliary.GetOrSetProperty <WebSocket>(info, (websocket) => websocket.NoDelay, (websocket, value) => websocket.NoDelay = value); }
private static void ContentType(IntPtr info) { ObjectAuxiliary.GetOrSetProperty <HTTPResponse>(info, (response) => response.ContentType, (response, value) => response.ContentType = value); }
private static void Cookies(IntPtr info) { ObjectAuxiliary.GetOrSetProperty <HTTPResponse>(info, (response, arguments) => arguments.SetReturnValue(ArrayAuxiliary.ToArray(arguments.VirtualMachine, response.Cookies)), (response, arguments, value) => ArrayAuxiliary.Fill(value, response.Cookies)); }
private static void KeepAlive(IntPtr info) { ObjectAuxiliary.GetOrSetProperty <HTTPResponse>(info, (response) => response.KeepAlive, (response, value) => response.KeepAlive = value); }
private static void StatusDescription(IntPtr info) { ObjectAuxiliary.GetOrSetProperty <HTTPResponse>(info, (response) => response.StatusDescription, (response, value) => response.StatusDescription = value); }
private static void StatusCode(IntPtr info) { ObjectAuxiliary.GetOrSetProperty <HTTPResponse>(info, (response) => response.StatusCode, (response, value) => response.StatusCode = value); }
private static void ProtocolVersion(IntPtr info) { ObjectAuxiliary.GetOrSetProperty <HTTPResponse>(info, (response) => response.ProtocolVersion?.ToString(), (response, value) => response.ProtocolVersion?.ToString()); }
private static void RedirectLocation(IntPtr info) { ObjectAuxiliary.GetOrSetProperty <HTTPResponse>(info, (response) => response.RedirectLocation, (response, value) => response.RedirectLocation = value); }
private static void SendChunked(IntPtr info) { ObjectAuxiliary.GetOrSetProperty <HTTPResponse>(info, (response) => response.SendChunked, (response, value) => response.SendChunked = value); }
private static void Headers(IntPtr info) { ObjectAuxiliary.GetOrSetProperty <HTTPResponse>(info, (response, arguments) => arguments.SetReturnValue(ObjectAuxiliary. ToObject(arguments.VirtualMachine, response.Headers)), (response, arguments, objecttive) => ObjectAuxiliary.Fill(objecttive, response.Headers)); }