Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.Http.CreditManager Class Referencesealed

Public Member Functions

 CreditManager (IHttpTrace owner, string name, int initialCredit)
 
ValueTask< int > RequestCreditAsync (int amount, CancellationToken cancellationToken)
 
void AdjustCredit (int amount)
 
void Dispose ()
 

Properties

bool IsCreditAvailable [get]
 
object SyncObject [get]
 

Private Member Functions

int TryRequestCreditNoLock (int amount)
 

Private Attributes

readonly IHttpTrace _owner
 
readonly string _name
 
int _current
 
bool _disposed
 
CreditWaiter _waitersTail
 

Detailed Description

Definition at line 6 of file CreditManager.cs.


The documentation for this class was generated from the following file: