Namespace Serenity.Steam.Infrastructure
Classes
SteamAnswerText
The words a failure message uses for what Steam answered with, so an answer that said nothing reads as "the answer was empty" instead of a sentence that stops after its colon.
SteamCookieHeaderParser
Reads the sessionid and steamLoginSecure cookies out of whatever an author pasted
from their browser.
SteamCookieRequestFactory
Builds an HttpRequestMessage authenticated with a SteamPartnerCookies pair —
the one place the Cookie header is assembled, shared by SteamPartnerClient's
fetchachievements GET and SteamPushPump's push POSTs, so the two never drift into
two slightly different header formats.
SteamHttpTransport
The HTTP seam every Steam client sends through: a send and a headers-first send, each wrapped once in the wire trace. The trace switch is asked on every request, so switching it on or off affects a client that was built before the switch, with nothing to rebuild.
SteamJsonFieldReader
Small, tolerant JSON field lookups shared by every Steam partner-site response reader
(SteamAchievementResponseReader, SteamSaveResponseReader): none of these
undocumented internal endpoints commit to one field-name spelling, so every reader has to probe a
short list of candidates rather than a single key.
SteamLoginPageDetector
Detects whether a Steam partner-site response body is the HTML sign-in page rather than the endpoint's
real answer — every partner-site endpoint answers an expired session the same way, so
SteamAchievementResponseReader, SteamSaveResponseReader, and a push
transport's own icon-upload response check all share this one detector rather than three copies of the
same marker string.
SteamPartnerEndpoints
The Steamworks partner-site endpoints the Steam definition-sync connector talks to.
SteamPartnerLocaleMap
Maps Unity/Serenity locale codes to and from the language names the Steamworks partner site uses for achievement display text, and back.
SteamSaveResponseReader
Parses a Steam newachievement or saveachievement response body.
SteamSaveResult
The outcome of parsing one newachievement or saveachievement response.
SteamSharedHttpClient
The one HttpClient every Steam request goes out through, never one per caller, so the connections to the partner site are pooled across the partner client, the sign-in clients and the icon downloads.
SteamSignInRedirectRule
Decides whether a redirect answering a partner-site request is the sign-in bounce a dead session gets, as opposed to any other redirect (to a success page, to a canonical host) that says nothing about the session.
Enums
SteamFetchFailureKind
Why a Steam fetchachievements pull did not produce a snapshot.