logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SteamSharedHttpClientTests

    Sends through the REAL SteamSharedHttpClient — every other Steam client test injects a fake send, which is how a handler that silently dropped the hand-set Cookie header went unnoticed. The target is a loopback listener, never a Steam host, and the cookie values are dummies.

    Inheritance
    object
    SteamSharedHttpClientTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Steam.Tests.Editor
    Assembly: Tests.Editor.dll
    Syntax
    public class SteamSharedHttpClientTests
    Remarks

    The listener is a Serenity.UnityAchievements.Tests.Editor.LoopbackListener, and the system proxy is switched off for the length of the test so a machine-wide proxy cannot swallow a loopback request.

    Constructors

    SteamSharedHttpClientTests()

    Declaration
    public SteamSharedHttpClientTests()

    Methods

    RestoreTheSystemProxy()

    Declaration
    public void RestoreTheSystemProxy()

    SendAsync_ARedirect_IsReturnedNotFollowed()

    Declaration
    public Task SendAsync_ARedirect_IsReturnedNotFollowed()
    Returns
    Type Description
    Task

    SendAsync_ASetCookieResponse_IsNotSentBackOnTheNextRequest()

    Declaration
    public Task SendAsync_ASetCookieResponse_IsNotSentBackOnTheNextRequest()
    Returns
    Type Description
    Task

    SendAsync_HandSetCookieHeader_ReachesTheServer()

    Declaration
    public Task SendAsync_HandSetCookieHeader_ReachesTheServer()
    Returns
    Type Description
    Task

    SendAsync_TwoRequests_ShareOneClient()

    Declaration
    public Task SendAsync_TwoRequests_ShareOneClient()
    Returns
    Type Description
    Task

    SendHeadersFirstAsync_CompletesBeforeTheBodyEnds()

    Declaration
    public Task SendHeadersFirstAsync_CompletesBeforeTheBodyEnds()
    Returns
    Type Description
    Task

    SwitchTheSystemProxyOff()

    Declaration
    public void SwitchTheSystemProxyOff()
    In this article
    © 2026 Serenity. All Rights Reserved