Home
last modified time | relevance | path

Searched refs:HttpListener (Results 1 – 25 of 143) sorted by relevance

123456

/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Net/
H A DHttpListenerTest.cs59 HttpListener listener = new HttpListener (); in DefaultProperties()
75 HttpListener listener = new HttpListener (); in Start1()
85 HttpListener listener = new HttpListener (); in Stop1()
97 HttpListener listener = new HttpListener (); in GetContext1()
110 HttpListener listener = new HttpListener (); in GetContext2()
124 HttpListener listener = new HttpListener (); in BeginGetContext1()
135 HttpListener listener = new HttpListener (); in BeginGetContext2()
240 HttpListener listener = new HttpListener (); in MultipleSlashes()
256 HttpListener listener = new HttpListener (); in PercentSign()
268 HttpListener listener = new HttpListener (); in CloseBeforeStart()
[all …]
H A DHttpListenerPrefixCollectionTest.cs46 HttpListener listener = new HttpListener (); in NL_DefaultProperties()
59 HttpListener listener = new HttpListener (); in DefaultProperties()
74 HttpListener listener = new HttpListener (); in AddOne()
91 HttpListener listener = new HttpListener (); in Duplicate()
108 HttpListener listener = new HttpListener (); in EndsWithSlash()
118 HttpListener listener = new HttpListener (); in DifferentPath()
130 HttpListener listener = new HttpListener (); in NL_Clear()
141 HttpListener listener = new HttpListener (); in NL_Remove()
152 HttpListener listener = new HttpListener (); in NL_RemoveBadUri()
165 HttpListener listener = new HttpListener (); in NL_AddBadUri()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.HttpListener/tests/
H A DSimpleHttpTests.cs14 private HttpListener _listener;
27 Assert.True(HttpListener.IsSupported); in Supported_True()
33 HttpListener listener = new HttpListener(); in BasicTest_StartStop_NoException()
49 HttpListener listener = new HttpListener(); in BasicTest_StartCloseAbort_NoException()
65 HttpListener listener = new HttpListener(); in BasicTest_StartAbortClose_NoException()
81 HttpListener listener = new HttpListener(); in BasicTest_StopNoStart_NoException()
89 HttpListener listener = new HttpListener(); in BasicTest_CloseNoStart_NoException()
96 HttpListener listener = new HttpListener(); in BasicTest_AbortNoStart_NoException()
103 HttpListener listener = new HttpListener(); in BasicTest_StartThrowsAbortCalledInFinally_AbortDoesntThrow()
H A DHttpListenerPrefixCollectionTests.cs19 var listener = new HttpListener(); in Prefixes_Get_ReturnsEmpty()
32 var listener = new HttpListener(); in CopyTo_StringArray_ReturnsExpected()
53 var listener = new HttpListener(); in CopyTo_Array_ReturnsExpected()
72 var listener = new HttpListener(); in CopyTo_DisposedListener_ThrowsObjectDisposedException()
84 var listener = new HttpListener(); in CopyTo_NullArray_ThrowsArgumentNullExceptionOnNetCore()
93 var listener = new HttpListener(); in CopyTo_NullArray_ThrowsNullReferenceExceptionOnNetFx()
101 var listener = new HttpListener(); in CopyTo_MultidimensionalArray_ThrowsIndexOutOfRangeException()
114 var listener = new HttpListener(); in CopyTo_NonZeroLowerBoundArray_ThrowsIndexOutOfRangeException()
128 var listener = new HttpListener(); in CopyTo_InvalidArrayType_ThrowsInvalidCastException()
141 var listener = new HttpListener(); in CopyTo_ArrayTooSmall_ThrowsArgumentOutOfRangeException()
[all …]
H A DHttpListenerTests.cs19 var listener = new HttpListener(); in IgnoreWriteExceptions_SetDisposed_ThrowsObjectDisposedException()
28 var listener = new HttpListener(); in Stop_Disposed_ThrowsObjectDisposedException()
37 using (var listener = new HttpListener()) in IsListening_NotStarted_ReturnsFalse()
46 var listener = new HttpListener(); in IsListening_Disposed_ReturnsFalse()
57 var listener = new HttpListener(); in IsListening_Aborted_ReturnsFalse()
68 var listener = new HttpListener(); in IsListening_Stopped_ReturnsFalse()
79 var listener = new HttpListener(); in Start_Disposed_ThrowsObjectDisposedException()
88 var listener = new HttpListener(); in GetContext_Disposed_ThrowsObjectDisposedException()
98 using (var listener = new HttpListener()) in GetContext_NotStarted_ThrowsInvalidOperationException()
108 using (var listener = new HttpListener()) in GetContext_NoPrefixes_ThrowsInvalidOperationException()
[all …]
/dports/net/kea/kea-2.0.1/src/lib/http/
H A Dlistener.cc18 HttpListener::HttpListener(IOService& io_service, in HttpListener() function in isc::http::HttpListener
23 const HttpListener::RequestTimeout& request_timeout, in HttpListener()
24 const HttpListener::IdleTimeout& idle_timeout) in HttpListener()
31 HttpListener::~HttpListener() { in ~HttpListener()
36 HttpListener::getLocalAddress() const { in getLocalAddress()
41 HttpListener::getLocalPort() const { in getLocalPort()
46 HttpListener::start() { in start()
51 HttpListener::stop() { in stop()
H A Dlistener.h52 class HttpListener {
99 HttpListener(asiolink::IOService& io_service,
110 ~HttpListener();
139 typedef boost::shared_ptr<HttpListener> HttpListenerPtr;
142 typedef boost::shared_ptr<const HttpListener> ConstHttpListenerPtr;
/dports/net/kea/kea-2.0.1/src/lib/http/tests/
H A Dtls_server_unittests.cc260 class HttpListenerCustom : public HttpListener {
285 const HttpListener::IdleTimeout& idle_timeout) in HttpListenerCustom()
286 : HttpListener(io_service, server_address, server_port, in HttpListenerCustom()
789 HttpListener::RequestTimeout(REQUEST_TIMEOUT), in testWriteBufferIssues()
790 HttpListener::IdleTimeout(IDLE_TIMEOUT)); in testWriteBufferIssues()
840 HttpListener::IdleTimeout(IDLE_TIMEOUT)); in TEST_F()
972 HttpListener::IdleTimeout(500)); in TEST_F()
1029 HttpListener::IdleTimeout(500)); in TEST_F()
1179 HttpListener::RequestTimeout(0), in TEST_F()
1190 HttpListener::IdleTimeout(0)), in TEST_F()
[all …]
H A Dserver_client_unittests.cc254 class HttpListenerCustom : public HttpListener {
280 : HttpListener(io_service, server_address, server_port, in HttpListenerCustom()
541 HttpListener::IdleTimeout(IDLE_TIMEOUT)); in testWriteBufferIssues()
717 HttpListener::IdleTimeout(500)); in TEST_F()
774 HttpListener::IdleTimeout(500)); in TEST_F()
924 HttpListener::RequestTimeout(0), in TEST_F()
935 HttpListener::IdleTimeout(0)), in TEST_F()
1008 HttpListener::IdleTimeout(IDLE_TIMEOUT)), in HttpClientTest()
1861 HttpListener listener_;
1864 HttpListener listener2_;
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.HttpListener/src/System/Net/Managed/
H A DHttpEndPointListener.cs41 private readonly HttpListener _listener;
45 private Dictionary<ListenerPrefix, HttpListener> _prefixes;
71 _prefixes = new Dictionary<ListenerPrefix, HttpListener>(); in HttpEndPointListener()
75 internal HttpListener Listener
144 HttpListener listener = SearchListener(req.Url, out prefix); in BindContext()
172 HttpListener bestMatch = null; in SearchListener()
225 HttpListener bestMatch = null; in MatchFromList()
334 Dictionary<ListenerPrefix, HttpListener> prefs, p2; in AddPrefix()
342 p2 = new Dictionary<ListenerPrefix, HttpListener>(prefs); in AddPrefix()
378 Dictionary<ListenerPrefix, HttpListener> prefs, p2; in RemovePrefix()
[all …]
H A DHttpEndPointManager.cs45 public static void AddListener(HttpListener listener) in AddListener()
69 public static void AddPrefix(string prefix, HttpListener listener) in AddPrefix()
77 private static void AddPrefixInternal(string p, HttpListener listener) in AddPrefixInternal()
109 …private static HttpEndPointListener GetEPListener(string host, int port, HttpListener listener, bo… in GetEPListener()
183 public static void RemoveListener(HttpListener listener) in RemoveListener()
194 public static void RemovePrefix(string prefix, HttpListener listener) in RemovePrefix()
202 private static void RemovePrefixInternal(string prefix, HttpListener listener) in RemovePrefixInternal()
/dports/astro/stellarium/stellarium-0.21.3/plugins/RemoteControl/src/qtwebapp/httpserver/
H A Dhttplistener.cpp11 HttpListener::HttpListener(const HttpListenerSettings &settings, HttpRequestHandler* requestHandler… in HttpListener() function in HttpListener
25 HttpListener::~HttpListener() in ~HttpListener()
32 void HttpListener::listen() in listen()
51 void HttpListener::close() { in close()
60 void HttpListener::incomingConnection(tSocketDescriptor socketDescriptor) { in incomingConnection()
H A Dhttplistener.h57 class DECLSPEC HttpListener : public QTcpServer {
59 Q_DISABLE_COPY(HttpListener)
70HttpListener(const HttpListenerSettings& settings, HttpRequestHandler* requestHandler, QObject* pa…
73 virtual ~HttpListener();
/dports/graphics/yacreader/yacreader-9.8.2/third_party/QtWebApp/httpserver/
H A Dhttplistener.cpp13 HttpListener::HttpListener(const QSettings* settings, HttpRequestHandler* requestHandler, QObject *… in HttpListener() function in HttpListener
28 HttpListener::~HttpListener() in ~HttpListener()
35 void HttpListener::listen() in listen()
54 void HttpListener::close() { in close()
63 void HttpListener::incomingConnection(tSocketDescriptor socketDescriptor) { in incomingConnection()
H A Dhttplistener.h44 class DECLSPEC HttpListener : public QTcpServer {
46 Q_DISABLE_COPY(HttpListener)
62HttpListener(const QSettings* settings, HttpRequestHandler* requestHandler, QObject* parent=nullpt…
65 virtual ~HttpListener();
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/
H A D_ListenerRequestStream.cs107 if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Read", ""); in Read()
119 if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Read", "dataRead:0"); in Read()
167 if(Logging.On)Logging.Exception(Logging.HttpListener, this, "Read", exception); in Read()
189 if(Logging.On) Logging.Enter(Logging.HttpListener, this, "BeginRead", ""); in BeginRead()
201 if(Logging.On)Logging.Exit(Logging.HttpListener, this, "BeginRead", ""); in BeginRead()
278 HttpListener.SkipIOCPCallbackOnSuccess) in BeginRead()
284 if(Logging.On)Logging.Exit(Logging.HttpListener, this, "BeginRead", ""); in BeginRead()
289 if(Logging.On)Logging.Enter(Logging.HttpListener, this, "EndRead", ""); in EndRead()
316 if(Logging.On)Logging.Exit(Logging.HttpListener, this, "EndRead", ""); in EndRead()
336 if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Dispose", ""); in Dispose()
[all …]
H A DHttpListenerContext.cs22 private HttpListener m_Listener;
33 internal HttpListenerContext(HttpListener httpListener, RequestContextBase memoryBlob) in HttpListenerContext()
35 …if (Logging.On) Logging.PrintInfo(Logging.HttpListener, this, ".ctor", "httpListener#" + Validatio… in HttpListenerContext()
59 if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Response", "");
64 if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Response", "");
130 internal HttpListener Listener {
194 if(Logging.On) Logging.Enter(Logging.HttpListener, this, "Close()", ""); in Close()
217 if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Close", ""); in Close()
221 if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Abort", ""); in Abort()
232 if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Abort", ""); in Abort()
H A DHttpListener.cs282 public sealed unsafe class HttpListener : IDisposable class
364 public HttpListener() in HttpListener() method in System.Net.HttpListener
839 if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Start", ""); in Start()
958 if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Stop", ""); in Stop()
983 if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Stop", ""); in Stop()
1021 if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Abort", ""); in Abort()
1049 if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Close", ""); in Close()
2103 Logging.PrintInfo(Logging.HttpListener, this, in CheckSpn()
2112 Logging.PrintInfo(Logging.HttpListener, this, in CheckSpn()
2155 Logging.PrintInfo(Logging.HttpListener, this, in CheckSpn()
[all …]
H A D_ListenerResponseStream.cs128 if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Write", ""); in Write()
141 if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Write", ""); in Write()
229 if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Write", ""); in Write()
247 if(Logging.On)Logging.Exit(Logging.HttpListener, this, "BeginWrite", ""); in BeginWrite()
323 if(Logging.On)Logging.Exit(Logging.HttpListener, this, "BeginWrite", ""); in BeginWrite()
328 if(Logging.On)Logging.Enter(Logging.HttpListener, this, "EndWrite", ""); in EndWrite()
356 if(Logging.On)Logging.Exit(Logging.HttpListener, this, "EndWrite", ""); in EndWrite()
376 if(Logging.On)Logging.Enter(Logging.HttpListener, this, "Close", ""); in Dispose()
382 if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Close", ""); in Dispose()
392 if(Logging.On)Logging.Exit(Logging.HttpListener, this, "Close", ""); in Dispose()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Net/
H A DEndPointListener.cs41 HttpListener listener;
51 public EndPointListener (HttpListener listener, IPAddress addr, int port, bool secure) in EndPointListener()
73 internal HttpListener Listener {
144 HttpListener listener = SearchListener (req.Url, out prefix); in BindContext()
161 HttpListener SearchListener (Uri uri, out ListenerPrefix prefix) in SearchListener()
172 HttpListener best_match = null; in SearchListener()
187 best_match = (HttpListener) p_ro [p]; in SearchListener()
218 HttpListener best_match = null; in MatchFromList()
295 public void AddPrefix (ListenerPrefix prefix, HttpListener listener) in AddPrefix()
323 HttpListener other = (HttpListener) prefs [prefix]; in AddPrefix()
[all …]
H A DEndPointManager.cs41 public static void AddListener (HttpListener listener) in AddListener()
59 public static void AddPrefix (string prefix, HttpListener listener) in AddPrefix()
66 static void AddPrefixInternal (string p, HttpListener listener) in AddPrefixInternal()
80 static EndPointListener GetEPListener (string host, int port, HttpListener listener, bool secure) in GetEPListener()
131 public static void RemoveListener (HttpListener listener) in RemoveListener()
140 public static void RemovePrefix (string prefix, HttpListener listener) in RemovePrefix()
147 static void RemovePrefixInternal (string prefix, HttpListener listener) in RemovePrefixInternal()
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/hyper-0.10.16/src/
H A Dnet.rs224 pub struct HttpListener { struct
231 impl From<TcpListener> for HttpListener { argument
232 fn from(listener: TcpListener) -> HttpListener { in from() argument
233 HttpListener { in from()
242 impl HttpListener { impl
249 impl NetworkListener for HttpListener { implementation
289 impl ::std::os::unix::io::AsRawFd for HttpListener { implementation
296 impl ::std::os::unix::io::FromRawFd for HttpListener { implementation
298 HttpListener::from(TcpListener::from_raw_fd(fd)) in from_raw_fd()
532 listener: HttpListener,
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/hyper/src/
H A Dnet.rs224 pub struct HttpListener { struct
231 impl From<TcpListener> for HttpListener { implementation
232 fn from(listener: TcpListener) -> HttpListener { in from() argument
233 HttpListener { in from()
242 impl HttpListener { impl
249 impl NetworkListener for HttpListener { implementation
289 impl ::std::os::unix::io::AsRawFd for HttpListener { implementation
296 impl ::std::os::unix::io::FromRawFd for HttpListener { implementation
298 HttpListener::from(TcpListener::from_raw_fd(fd)) in from_raw_fd()
532 listener: HttpListener,
[all …]
/dports/www/ffsend/ffsend-ccd489ce2e75b91c0f17fbf13dbd91fe84f5ad98/cargo-crates/hyper-0.10.16/src/
H A Dnet.rs224 pub struct HttpListener { struct
231 impl From<TcpListener> for HttpListener { argument
232 fn from(listener: TcpListener) -> HttpListener { in from() argument
233 HttpListener { in from()
242 impl HttpListener { implementation
249 impl NetworkListener for HttpListener { implementation
289 impl ::std::os::unix::io::AsRawFd for HttpListener { implementation
296 impl ::std::os::unix::io::FromRawFd for HttpListener { implementation
298 HttpListener::from(TcpListener::from_raw_fd(fd)) in from_raw_fd()
532 listener: HttpListener,
[all …]
/dports/www/websocat/websocat-1.9.0/cargo-crates/hyper-0.10.16/src/
H A Dnet.rs224 pub struct HttpListener { struct
231 impl From<TcpListener> for HttpListener { implementation
232 fn from(listener: TcpListener) -> HttpListener { in from() argument
233 HttpListener { in from()
242 impl HttpListener { implementation
249 impl NetworkListener for HttpListener { implementation
289 impl ::std::os::unix::io::AsRawFd for HttpListener { implementation
296 impl ::std::os::unix::io::FromRawFd for HttpListener { implementation
298 HttpListener::from(TcpListener::from_raw_fd(fd)) in from_raw_fd()
532 listener: HttpListener,
[all …]

123456