假设我有 HttpListener。它监听一些端口和ip。当我发送 POST 请求时,它会捕获它。如何解析来自 HttpListenerRequest 的 POST 参数?
HttpListenerContext context = listener.GetContext();
HttpListenerRequest request = context.Request;
if ( request.HttpMethod == "POST" )
{
// Here i can read all parameters in string but how to parse each one i don't know
}