本文介绍了http://+:8080/和http://*:8080/之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这两个前缀在HttpListener或其他任何方面有何区别?

http://+:8080/

http://*:8080/
解决方案

http://*:8080/:在端口8080上接收所有尚未由其他HttpListener处理的 的所有HTTP请求. >

http://+:8080/:如果端口8080 甚至已被另一个HttpListener处理,则接收所有HTTP请求.

What are the differences between these two prefixes in terms of HttpListener or any other?

http://+:8080/

http://*:8080/
解决方案

http://*:8080/: Receive all HTTP requests on port 8080 that are not already being handled by some other HttpListener.

http://+:8080/: Receive all HTTP requests on port 8080 even if they're already handled by another HttpListener.

这篇关于http://+:8080/和http://*:8080/之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-17 10:36