@peer_required
@api_request
@reply_type([ProtocolMessageTypes.respond_peers])
async def request_peers(self, _request: full_node_protocol.RequestPeers, peer: ws.WSChiaConnection):
    if (peer.peer_server_port is None):
        return None
    peer_info = PeerInfo(peer.peer_host, peer.peer_server_port)
    if (self.full_node.full_node_peers is not None):
        msg = (await self.full_node.full_node_peers.request_peers(peer_info))
        return msg
@peer_required
@api_request
@reply_type([ProtocolMessageTypes.respond_peers])
async def request_peers(self, _request: full_node_protocol.RequestPeers, peer: ws.WSChiaConnection):
    if (peer.peer_server_port is None):
        return None
    peer_info = PeerInfo(peer.peer_host, peer.peer_server_port)
    if (self.full_node.full_node_peers is not None):
        msg = (await self.full_node.full_node_peers.request_peers(peer_info))
        return msg