WAX Unity Web3 Suite
EosSharp
EosSharp
  • Getting Started
  • Installation
  • Examples
    • Configuration
    • Create Transaction
    • CustomSignProvider
    • CombinedSignersProvider
  • API Docs
    • API Read Methods
      • GetInfo
      • GetAccount
      • GetBlock
      • GetTableRows
      • GetTableByScope
    • Eos
    • HttpHandler
    • Core
      • Api.v1
        • Abi
        • AbiAction
        • AbiBinToJsonRequest
        • AbiBinToJsonResponse
        • AbiField
        • AbiJsonToBinRequest
        • AbiJsonToBinResponse
        • AbiRicardianClause
        • AbiStruct
        • AbiTable
        • AbiType
        • Action
        • ActionTrace
        • ActivedProtocolFeatures
        • Authority
        • AuthorityAccount
        • AuthorityKey
        • AuthorityWait
        • BlockHeader
        • CurrencyStat
        • DetailedTransaction
        • EosApi
        • ExtendedAsset
        • Extension
        • GetAbiRequest
        • GetAbiResponse
        • GetAccountRequest
        • GetAccountResponse
        • GetActionsRequest
        • GetActionsResponse
        • GetBlockHeaderStateRequest
        • GetBlockHeaderStateResponse
        • GetBlockRequest
        • GetBlockResponse
        • GetCodeRequest
        • GetCodeResponse
        • GetControlledAccountsRequest
        • GetControlledAccountsResponse
        • GetCurrencyBalanceRequest
        • GetCurrencyBalanceResponse
        • GetCurrencyStatsRequest
        • GetCurrencyStatsResponse
        • GetInfoResponse
        • GetKeyAccountsRequest
        • GetKeyAccountsResponse
        • GetProducerScheduleResponse
        • GetProducersRequest
        • GetProducersResponse
        • GetRawAbiRequest
        • GetRawAbiResponse
        • GetRawCodeAndAbiRequest
        • GetRawCodeAndAbiResponse
        • GetRequiredKeysRequest
        • GetRequiredKeysResponse
        • GetScheduledTransactionsRequest
        • GetScheduledTransactionsResponse
        • GetTableByScopeRequest
        • GetTableByScopeResponse
        • GetTableRowsRequest
        • GetTableRowsResponse
        • GetTransactionRequest
        • GetTransactionResponse
        • GlobalAction
        • Merkle
        • PackedTransaction
        • Permission
        • PermissionLevel
        • ProcessedTransaction
        • Producer
        • PushTransactionRequest
        • PushTransactionResponse
        • Receipt
        • RefundRequest
        • Resource
        • Schedule
        • ScheduleProducers
        • ScheduledTransaction
        • SelfDelegatedBandwidth
        • SignedBlockHeader
        • Symbol
        • TableByScopeResultRow
        • TotalResources
        • Transaction
        • TransactionReceipt
        • Variant
        • VoterInfo
      • DataAttributes
        • AbiFieldTypeAttribute
      • EosBase
      • EosConfigurator
      • Exceptions
        • ApiError
        • ApiErrorDetail
        • ApiErrorException
        • ApiException
      • Helpers
        • CryptoHelper
          • KeyPair
        • SerializationHelper
      • Interfaces
        • IHttpHandler
        • ISignProvider
      • EosSharp
        • AbiSerializationProvider
        • CombinedSignersProvider
        • DefaultSignProvider
        • IAbiSerializationProvider
      • SignedTransaction
Powered by GitBook
On this page
  • Summary
  • Members
Edit on GitHub
  1. API Docs
  2. Core
  3. Interfaces

IHttpHandler

PreviousInterfacesNextISignProvider

Last updated 2 years ago

Http handler interface for cross platform specific implementations.

Summary

Members
Descriptions

Clear cached responses from requests called with Post/GetWithCacheAsync.

Make post request with data converted to json asynchronously.

Make post request with data converted to json asynchronously.

Make post request with data converted to json asynchronously. Response is cached based on input (url, data)

Make post request with data converted to json asynchronously. Response is cached based on input (url, data)

Make get request asynchronously.

Make get request asynchronously.

Generic http request sent asynchronously.

Generic http request sent asynchronously.

Upsert response data in the data store.

Calculate request unique hash key.

Convert response to stream.

Convert stream to a string.

Members

public void ()

Clear cached responses from requests called with Post/GetWithCacheAsync.

Make post request with data converted to json asynchronously.

Parameters

  • TResponseData Response type

Parameters

  • url Url to send the request

  • data data sent in the body

Returns

Response data deserialized to type TResponseData

Make post request with data converted to json asynchronously.

Parameters

  • TResponseData Response type

Parameters

  • url Url to send the request

  • data data sent in the body

  • cancellationToken Notification that operation should be canceled

Returns

Response data deserialized to type TResponseData

Make post request with data converted to json asynchronously. Response is cached based on input (url, data)

Parameters

  • TResponseData Response type

Parameters

  • url Url to send the request

  • data data sent in the body

  • reload ignore cached value and make a request caching the result

Returns

Response data deserialized to type TResponseData

Make post request with data converted to json asynchronously. Response is cached based on input (url, data)

Parameters

  • TResponseData Response type

Parameters

  • url Url to send the request

  • data data sent in the body

  • cancellationToken Notification that operation should be canceled

  • reload ignore cached value and make a request caching the result

Returns

Response data deserialized to type TResponseData

Make get request asynchronously.

Parameters

  • TResponseData Response type

Parameters

  • url Url to send the request

Returns

Response data deserialized to type TResponseData

Make get request asynchronously.

Parameters

  • TResponseData Response type

Parameters

  • url Url to send the request

  • cancellationToken Notification that operation should be canceled

Returns

Response data deserialized to type TResponseData

Generic http request sent asynchronously.

Parameters

  • request request body

Returns

Stream with response

Generic http request sent asynchronously.

Parameters

  • request request body

///

Parameters

  • cancellationToken Notification that operation should be canceled

Returns

Stream with response

Upsert response data in the data store.

Parameters

  • TResponseData response data type

Parameters

  • hashKey data key

  • responseData response data

Calculate request unique hash key.

Parameters

  • url Url to send the request

  • data data sent in the body

Returns

Convert response to stream.

Parameters

  • response response object

Returns

Stream with response

Convert stream to a string.

Parameters

  • stream

Returns

public void ()

public Task< TResponseData > (string url, object data)

public Task< TResponseData > (string url, object data, CancellationToken cancellationToken)

public Task< TResponseData > (string url, object data, bool reload)

public Task< TResponseData > (string url, object data, CancellationToken cancellationToken, bool reload)

public Task< TResponseData > (string url)

public Task< TResponseData > (string url, CancellationToken cancellationToken)

public Task< Stream > (HttpRequestMessage request)

public Task< Stream > (HttpRequestMessage request, CancellationToken cancellationToken)

public void (string hashKey, TResponseData responseData)

public string (string url, object data)

public Task< Stream > (HttpResponseMessage response)

public Task< string > (Stream stream)

public Task< TResponseData > (string url, object data)

public Task< TResponseData > (string url, object data, CancellationToken cancellationToken)

public Task< TResponseData > (string url, object data, bool reload)

public Task< TResponseData > (string url, object data, CancellationToken cancellationToken, bool reload)

public Task< TResponseData > (string url)

public Task< TResponseData > (string url, CancellationToken cancellationToken)

public Task< Stream > (HttpRequestMessage request)

public Task< Stream > (HttpRequestMessage request, CancellationToken cancellationToken)

public void (string hashKey, TResponseData responseData)

public string (string url, object data)

public Task< Stream > (HttpResponseMessage response)

public Task< string > (Stream stream)

ClearResponseCache
PostJsonAsync< TResponseData >
PostJsonAsync< TResponseData >
PostJsonWithCacheAsync< TResponseData >
PostJsonWithCacheAsync< TResponseData >
GetJsonAsync< TResponseData >
GetJsonAsync< TResponseData >
SendAsync
SendAsync
UpdateResponseDataCache< TResponseData >
GetRequestHashKey
BuildSendResponse
StreamToStringAsync
ClearResponseCache
PostJsonAsync< TResponseData >
PostJsonAsync< TResponseData >
PostJsonWithCacheAsync< TResponseData >
PostJsonWithCacheAsync< TResponseData >
GetJsonAsync< TResponseData >
GetJsonAsync< TResponseData >
SendAsync
SendAsync
UpdateResponseDataCache< TResponseData >
GetRequestHashKey
BuildSendResponse
StreamToStringAsync