|
| 1 | +<!DOCTYPE html> |
| 2 | +<html> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <title>UofConfiguration | Sportradar.OddsFeed.SDK </title> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 7 | + <meta name="title" content="UofConfiguration | Sportradar.OddsFeed.SDK "> |
| 8 | + |
| 9 | + |
| 10 | + <link rel="icon" href="../images/favicon.ico"> |
| 11 | + <link rel="stylesheet" href="../public/docfx.min.css"> |
| 12 | + <link rel="stylesheet" href="../public/main.css"> |
| 13 | + <meta name="docfx:navrel" content="../toc.html"> |
| 14 | + <meta name="docfx:tocrel" content="toc.html"> |
| 15 | + |
| 16 | + <meta name="docfx:rel" content="../"> |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + <meta name="loc:inThisArticle" content="In this article"> |
| 21 | + <meta name="loc:searchResultsCount" content="{count} results for "{query}""> |
| 22 | + <meta name="loc:searchNoResults" content="No results for "{query}""> |
| 23 | + <meta name="loc:tocFilter" content="Filter by title"> |
| 24 | + <meta name="loc:nextArticle" content="Next"> |
| 25 | + <meta name="loc:prevArticle" content="Previous"> |
| 26 | + <meta name="loc:themeLight" content="Light"> |
| 27 | + <meta name="loc:themeDark" content="Dark"> |
| 28 | + <meta name="loc:themeAuto" content="Auto"> |
| 29 | + <meta name="loc:changeTheme" content="Change theme"> |
| 30 | + <meta name="loc:copy" content="Copy"> |
| 31 | + <meta name="loc:downloadPdf" content="Download PDF"> |
| 32 | + |
| 33 | + <script type="module" src="./../public/docfx.min.js"></script> |
| 34 | + |
| 35 | + <script> |
| 36 | + const theme = localStorage.getItem('theme') || 'auto' |
| 37 | + document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) |
| 38 | + </script> |
| 39 | + |
| 40 | + </head> |
| 41 | + |
| 42 | + <body class="tex2jax_ignore" data-layout="" data-yaml-mime=""> |
| 43 | + <header class="bg-body border-bottom"> |
| 44 | + <nav id="autocollapse" class="navbar navbar-expand-md" role="navigation"> |
| 45 | + <div class="container-xxl flex-nowrap"> |
| 46 | + <a class="navbar-brand" href="../index.html"> |
| 47 | + <img id="logo" class="svg" src="../images/uf-ns-h60.png" alt="Sportradar.OddsFeed.SDK"> |
| 48 | + Sportradar.OddsFeed.SDK |
| 49 | + </a> |
| 50 | + <button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation"> |
| 51 | + <i class="bi bi-three-dots"></i> |
| 52 | + </button> |
| 53 | + <div class="collapse navbar-collapse" id="navpanel"> |
| 54 | + <div id="navbar"> |
| 55 | + <form class="search" role="search" id="search"> |
| 56 | + <i class="bi bi-search"></i> |
| 57 | + <input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search"> |
| 58 | + </form> |
| 59 | + </div> |
| 60 | + </div> |
| 61 | + </div> |
| 62 | + </nav> |
| 63 | + </header> |
| 64 | + |
| 65 | + <main class="container-xxl"> |
| 66 | + <div class="toc-offcanvas"> |
| 67 | + <div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel"> |
| 68 | + <div class="offcanvas-header"> |
| 69 | + <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5> |
| 70 | + <button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button> |
| 71 | + </div> |
| 72 | + <div class="offcanvas-body"> |
| 73 | + <nav class="toc" id="toc"></nav> |
| 74 | + </div> |
| 75 | + </div> |
| 76 | + </div> |
| 77 | + |
| 78 | + <div class="content"> |
| 79 | + <div class="actionbar"> |
| 80 | + <button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents"> |
| 81 | + <i class="bi bi-list"></i> |
| 82 | + </button> |
| 83 | + |
| 84 | + <nav id="breadcrumb"></nav> |
| 85 | + </div> |
| 86 | + |
| 87 | + <article data-uid=""> |
| 88 | +<h1 id="uofconfiguration">UofConfiguration</h1> |
| 89 | + |
| 90 | +<p>Before the SDK can connect to the feed and starts processing messages it has to be properly configured. The configuration must contain various information from the access token used to authenticate |
| 91 | +with the feed to various user preferences like default language, supported languages, etc.</p> |
| 92 | +<p>The configuration uses a builder pattern enabling the user to set mandatory values while allowing them to skip optional ones. Various builders are used to create different configurations which target |
| 93 | +different environments:</p> |
| 94 | +<ul> |
| 95 | +<li>Staging & Production environment: configuration for both staging and production environments is built using the IConfigurationBuilder.</li> |
| 96 | +<li>Replay server: configuration for the replay server is built using the IReplayConfigurationBuilder.</li> |
| 97 | +<li>Non-sportradar environment: Sometimes (especially for testing) it can be useful to connect to a locally hosted server. Configuration for the custom environment can be built using |
| 98 | +ICustomConfigurationBuilder.</li> |
| 99 | +</ul> |
| 100 | +<p>Refer to <a href="configuration.html">Sdk configuration</a> for more information.</p> |
| 101 | +<p>The SDK supports both in-code and file-based (external) configurations. The config file-based configuration should be used in most cases because it improves code readability.</p> |
| 102 | +<h3 id="interface-structure-for-configuration">Interface structure for configuration</h3> |
| 103 | +<p>The following links will lead you to the respective class articles. Each article has three sections consisting of a class/interface description, method summary, and methods details.</p> |
| 104 | +<ul> |
| 105 | +<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Api.Config.IUofConfiguration.html">IUofConfiguration</a> |
| 106 | +<ul> |
| 107 | +<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Entities.Rest.IBookmakerDetails.html">IBookmakerDetails</a></li> |
| 108 | +<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Api.Config.IUofApiConfiguration.html">IUofApiConfiguration</a></li> |
| 109 | +<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Api.Config.IUofRabbitConfiguration.html">IUofRabbitConfiguration</a></li> |
| 110 | +<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Api.Config.IUofProducerConfiguration.html">IUofProducerConfiguration</a></li> |
| 111 | +<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Api.Config.IUofCacheConfiguration.html">IUofCacheConfiguration</a></li> |
| 112 | +<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Api.Config.IUofAdditionalConfiguration.html">IUofAdditionalConfiguration</a></li> |
| 113 | +<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Api.Config.IUofUsageConfiguration.html">IUofUsageConfiguration</a></li> |
| 114 | +</ul> |
| 115 | +</li> |
| 116 | +</ul> |
| 117 | +<h3 id="iuofconfiguration-diagram">IUofConfiguration Diagram</h3> |
| 118 | +<p><img src="../media/diagrams/UofConfigurationDiagram.png" alt="IOutcome hierarchy"></p> |
| 119 | + |
| 120 | +</article> |
| 121 | + |
| 122 | + <div class="contribution d-print-none"> |
| 123 | + </div> |
| 124 | + |
| 125 | + <div class="next-article d-print-none border-top" id="nextArticle"></div> |
| 126 | + |
| 127 | + </div> |
| 128 | + |
| 129 | + <div class="affix"> |
| 130 | + <nav id="affix"></nav> |
| 131 | + </div> |
| 132 | + </main> |
| 133 | + |
| 134 | + <div class="container-xxl search-results" id="search-results"></div> |
| 135 | + |
| 136 | + <footer class="border-top text-secondary"> |
| 137 | + <div class="container-xxl"> |
| 138 | + <div class="flex-fill"> |
| 139 | + Copyright © 2025, Sportradar AG. Send comments or questions to <a href='mailto:sdk%40sportradar.com?Subject=Odds%20Feed%20SDK%20Std%20Documentation: UnifiedFeed SDK .NET Standard 2.0&body=Your%20feedback%20is%20used%20to%20improve%20the%20documentation%20and%20the%20product.%20Your%20e-mail%20address%20will%20not%20be%20used%20for%20any%20other%20purpose%20and%20is%20disposed%20of%20after%20the%20issue%20you%20report%20is%20resolved.%20While%20working%20to%20resolve%20the%20issue%20that%20you%20report%2C%20you%20may%20be%20contacted%20via%20e-mail%20to%20get%20further%20details%20or%20clarification%20on%20the%20feedback%20you%20sent.%20After%20the%20issue%20you%20report%20has%20been%20addressed%2C%20you%20may%20receive%20an%20e-mail%20to%20let%20you%20know%20that%20your%20feedback%20has%20been%20addressed.'>SDK Team</a>. |
| 140 | + </div> |
| 141 | + </div> |
| 142 | + </footer> |
| 143 | + </body> |
| 144 | +</html> |
0 commit comments