rebrand
This commit is contained in:
parent
b0aa3baff3
commit
181d77fc78
22 changed files with 33 additions and 31 deletions
|
@ -3,5 +3,7 @@
|
|||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>Uwaa.HTTP</RootNamespace>
|
||||
<AssemblyName>Uwaa.HTTP</AssemblyName>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -1,7 +1,7 @@
|
|||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Text;
|
||||
|
||||
namespace MiniHTTP;
|
||||
namespace Uwaa.HTTP;
|
||||
|
||||
/// <summary>
|
||||
/// Content served as the body of a HTTP request or response.
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiniHTTP;
|
||||
namespace Uwaa.HTTP;
|
||||
|
||||
/// <summary>
|
||||
/// HTTP method from a HTTP request.
|
|
@ -3,10 +3,10 @@ using System.Security.Cryptography;
|
|||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Collections.Specialized;
|
||||
using MiniHTTP.Websockets;
|
||||
using MiniHTTP.Responses;
|
||||
using Uwaa.HTTP.Websockets;
|
||||
using Uwaa.HTTP.Responses;
|
||||
|
||||
namespace MiniHTTP;
|
||||
namespace Uwaa.HTTP;
|
||||
|
||||
/// <summary>
|
||||
/// A HTTP request currently being made to a <see cref="HttpServer"/>.
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiniHTTP.Responses;
|
||||
namespace Uwaa.HTTP.Responses;
|
||||
|
||||
public class HttpResponse
|
||||
{
|
|
@ -2,10 +2,10 @@
|
|||
using System.Net.Security;
|
||||
using System.Net.Sockets;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using MiniHTTP.Responses;
|
||||
using MiniHTTP.Routing;
|
||||
using Uwaa.HTTP.Responses;
|
||||
using Uwaa.HTTP.Routing;
|
||||
|
||||
namespace MiniHTTP;
|
||||
namespace Uwaa.HTTP;
|
||||
|
||||
/// <summary>
|
||||
/// A hypertext transfer protocol server which can listen on a port and deliver content over HTTP, optionally over SSL (HTTPS).
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiniHTTP;
|
||||
namespace Uwaa.HTTP;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a Multipurpose Internet Mail Extensions type, which indicates the nature and format of a document/file/chunk of data.
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiniHTTP.Responses;
|
||||
namespace Uwaa.HTTP.Responses;
|
||||
|
||||
/// <summary>
|
||||
/// An error caused by an invalid request.
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiniHTTP.Responses;
|
||||
namespace Uwaa.HTTP.Responses;
|
||||
|
||||
/// <summary>
|
||||
/// Special response which closes the request without sending a response. Used when an endpoint handles its own response, such as websocket upgrades.
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiniHTTP.Responses;
|
||||
namespace Uwaa.HTTP.Responses;
|
||||
|
||||
/// <summary>
|
||||
/// An error caused by a request to non-existent data.
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiniHTTP.Responses;
|
||||
namespace Uwaa.HTTP.Responses;
|
||||
|
||||
/// <summary>
|
||||
/// An simple reply to a request.
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiniHTTP.Responses;
|
||||
namespace Uwaa.HTTP.Responses;
|
||||
|
||||
/// <summary>
|
||||
/// A response redirecting the request to another location.
|
|
@ -1,6 +1,6 @@
|
|||
using MiniHTTP.Responses;
|
||||
using Uwaa.HTTP.Responses;
|
||||
|
||||
namespace MiniHTTP.Routing;
|
||||
namespace Uwaa.HTTP.Routing;
|
||||
|
||||
/// <summary>
|
||||
/// Handles CORS preflight requests.
|
|
@ -1,7 +1,7 @@
|
|||
using MiniHTTP.Responses;
|
||||
using Uwaa.HTTP.Responses;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace MiniHTTP.Routing;
|
||||
namespace Uwaa.HTTP.Routing;
|
||||
|
||||
/// <summary>
|
||||
/// Special router which serves static files from the filesystem.
|
|
@ -1,6 +1,6 @@
|
|||
using MiniHTTP.Responses;
|
||||
using Uwaa.HTTP.Responses;
|
||||
|
||||
namespace MiniHTTP.Routing;
|
||||
namespace Uwaa.HTTP.Routing;
|
||||
|
||||
public delegate Task<HttpResponse?> FuncEndpointDelegate(HttpRequest req);
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using MiniHTTP.Responses;
|
||||
using Uwaa.HTTP.Responses;
|
||||
|
||||
namespace MiniHTTP.Routing;
|
||||
namespace Uwaa.HTTP.Routing;
|
||||
|
||||
/// <summary>
|
||||
/// Selects one of multiple possible routers.
|
|
@ -1,6 +1,6 @@
|
|||
using MiniHTTP.Responses;
|
||||
using Uwaa.HTTP.Responses;
|
||||
|
||||
namespace MiniHTTP.Routing;
|
||||
namespace Uwaa.HTTP.Routing;
|
||||
|
||||
/// <summary>
|
||||
/// Parses a path and generates or acquires a response.
|
|
@ -1,6 +1,6 @@
|
|||
using MiniHTTP.Responses;
|
||||
using Uwaa.HTTP.Responses;
|
||||
|
||||
namespace MiniHTTP.Routing;
|
||||
namespace Uwaa.HTTP.Routing;
|
||||
|
||||
public class StaticEndpoint : RouterBase
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiniHTTP.Websockets;
|
||||
namespace Uwaa.HTTP.Websockets;
|
||||
|
||||
public enum CloseStatus : ushort
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
using System.Text;
|
||||
|
||||
namespace MiniHTTP.Websockets;
|
||||
namespace Uwaa.HTTP.Websockets;
|
||||
|
||||
public readonly struct DataFrame
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiniHTTP.Websockets;
|
||||
namespace Uwaa.HTTP.Websockets;
|
||||
|
||||
public enum WSOpcode : byte
|
||||
{
|
|
@ -2,7 +2,7 @@
|
|||
using System.Buffers.Binary;
|
||||
using System.Text;
|
||||
|
||||
namespace MiniHTTP.Websockets;
|
||||
namespace Uwaa.HTTP.Websockets;
|
||||
|
||||
/// <summary>
|
||||
/// A websocket client currently connected to a HTTP server.
|
Loading…
Reference in a new issue