jellyfin-server/Emby.Server.Implementations/HttpServer/SocketSharp/Extensions.cs

13 lines
320 B
C#
Raw Normal View History

2016-11-08 18:44:23 +00:00
using SocketHttpListener.Net;
namespace Emby.Server.Implementations.HttpServer.SocketSharp
{
public static class Extensions
{
public static string GetOperationName(this HttpListenerRequest request)
{
return request.Url.Segments[request.Url.Segments.Length - 1];
}
}
}