A
A
Alexander Borisovich2014-05-05 15:25:12
Computer networks
Alexander Borisovich, 2014-05-05 15:25:12

C# parsing http. Is it possible without parsing?

The console utility is listening on a port. An http request arrives. In php, everything appears in the $_POST array, but what about C # (not asp, not MVC). Take it apart by hand?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Borisovich, 2014-05-06
@Alexufo

https://github.com/Vodurden/Http-Multipart-Data-Parser
As an option. But we decided to stay on iis with stray. Less support required.

P
plasticmirror, 2014-05-05
@plasticmirror

httpListener - the basic functionality for parsing http
will be methods (post, get, etc.), there will be a RequestStream / ResponseStream
collection of parameters, Url, etc.
shorter msdn to help
from a more or less standard one - multipart forms do not seem to parse.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question