GetHttpInfoState return peer`s httpinfo state
()
| 293 | |
| 294 | //GetHttpInfoState return peer`s httpinfo state |
| 295 | func (this *Peer) GetHttpInfoState() bool { |
| 296 | return this.cap[common.HTTP_INFO_FLAG] == 1 |
| 297 | } |
| 298 | |
| 299 | //GetHttpInfoPort return peer`s httpinfo port |
| 300 | func (this *Peer) GetHttpInfoPort() uint16 { |