|
ShopPlatform.Web 1.0.0.0
농산물, 소프트웨어 라이선스와 개발 용역을 직접 판매하는 CodeMaru 직영 쇼핑몰입니다.
|
Public 멤버 함수 | |
| async Task | InvokeAsync (HttpContext ctx, IShopTenantStore store, ShopOptions opts) |
정적 Private 멤버 함수 | |
| static bool | IsBot (string ua) |
| static bool | IsShopPath (string path, out string slug) |
| static async Task | WriteOgHtml (HttpContext ctx, ShopConfig cfg, ShopOptions opts, string slug) |
| static string | HtmlEncode (string s) |
정적 Private 속성 | |
| static readonly string[] | BotKeywords |
| static readonly HashSet< string > | Reserved |
카카오톡·SNS 크롤러가 /{slug} 에 접근하면 Blazor 없이 OG 메타태그만 담긴 최소 HTML을 즉시 반환합니다. 일반 브라우저는 그대로 통과시킵니다.
OgBotMiddleware.cs 파일의 14 번째 라인에서 정의되었습니다.
|
inlinestaticprivate |
Html Encode 작업을 수행합니다.
| s | 이벤트를 발생시킨 객체입니다. |
string 결과입니다.OgBotMiddleware.cs 파일의 298 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : WriteOgHtml().

|
inline |
Invoke Async 작업을 수행합니다.
| ctx | ctx에 사용할 HttpContext 값입니다. |
| store | store에 사용할 IShopTenantStore 값입니다. |
| opts | opts에 사용할 ShopOptions 값입니다. |
Task 결과입니다.OgBotMiddleware.cs 파일의 73 번째 라인에서 정의되었습니다.
다음을 참조함 : ShopPlatform.Services.IShopTenantStore.GetAsync(), IsBot(), IsShopPath(), WriteOgHtml().

|
inlinestaticprivate |
Is Bot 조건을 확인합니다.
| ua | ua에 사용할 string 값입니다. |
true이고, 그렇지 않으면 false입니다.OgBotMiddleware.cs 파일의 116 번째 라인에서 정의되었습니다.
다음을 참조함 : BotKeywords.
다음에 의해서 참조됨 : InvokeAsync().

|
inlinestaticprivate |
Is Shop Path 조건을 확인합니다.
| path | path에 사용할 string 값입니다. |
| slug | slug에 사용할 string 값입니다. |
true이고, 그렇지 않으면 false입니다.OgBotMiddleware.cs 파일의 165 번째 라인에서 정의되었습니다.
다음을 참조함 : Reserved.
다음에 의해서 참조됨 : InvokeAsync().

|
inlinestaticprivate |
Og Html 데이터를 씁니다.
| ctx | ctx에 사용할 HttpContext 값입니다. |
| cfg | cfg에 사용할 ShopConfig 값입니다. |
| opts | opts에 사용할 ShopOptions 값입니다. |
| slug | slug에 사용할 string 값입니다. |
Task 결과입니다.OgBotMiddleware.cs 파일의 224 번째 라인에서 정의되었습니다.
다음을 참조함 : ShopPlatform.Models.ShopOptions.BaseUrl, ShopPlatform.Models.ShopConfig.Description, HtmlEncode(), ShopPlatform.Models.ShopConfig.LogoPath, ShopPlatform.Models.ShopConfig.OgDescription, ShopPlatform.Models.ShopConfig.OgImagePath, ShopPlatform.Models.ShopConfig.OgTitle, ShopPlatform.Models.ShopConfig.ShopName.
다음에 의해서 참조됨 : InvokeAsync().


|
staticprivate |
Bot Keywords 값을 보관합니다.
OgBotMiddleware.cs 파일의 25 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : IsBot().
|
staticprivate |
Reserved 값을 보관합니다.
OgBotMiddleware.cs 파일의 127 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : IsShopPath().