HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/ListMatchRequest HTTP/1.1
Host: mm.unet.unity3d.com
Content-Type: text/jsv
Content-Length: length
{
pageSize: 0,
pageNum: 0,
nameFilter: String,
filterOutPrivateMatches: False,
eloScore: 0,
containsLocation: False,
latitude: 0,
longitude: 0,
version: 0,
sourceId: 18446744073709551615,
projectId: String,
accessTokenString: String,
domain: 0,
appId: 18446744073709551615
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
matches:
[
{
networkId: 18446744073709551615,
name: String,
averageEloScore: 0,
maxSize: 0,
currentSize: 0,
isPrivate: False,
directConnectInfos:
[
{
publicAddress: String,
privateAddress: String,
hostPriority: 2147483647
}
]
}
],
success: False
}