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

13 lines
320 B
C#
Raw Normal View History

2016-11-08 11:44:23 -07: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];
}
}
}