mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
[PR #107] [MERGED] WebContent.GetUrl() and LoadURLOptions.ExtraHeaders #1084
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ElectronNET/Electron.NET/pull/107
Author: @ru-sh
Created: 3/16/2018
Status: ✅ Merged
Merged: 7/22/2018
Merged by: @GregorBiswanger
Base:
master← Head:master📝 Commits (1)
959def9+ WebContent.GetUrl()📊 Changes
5 files changed (+34 additions, -2 deletions)
View changed files
📝
ElectronNET.API/Entities/LoadURLOptions.cs(+8 -1)📝
ElectronNET.API/WebContents.cs(+16 -0)📝
ElectronNET.Host/api/webContents.js(+4 -0)📝
ElectronNET.Host/api/webContents.js.map(+1 -1)📝
ElectronNET.Host/api/webContents.ts(+5 -0)📄 Description
WebContent.GetUrl()
is used to get the Url of the loaded page. It's usefull if a web-server redirects you and you need to know where it redirects. For instance, It's useful in case of Implicit Authorization.
LoadURLOptions.ExtraHeaders
is used to setup additional page loading options. For example ExtraHeaders = "pragma: no-cache\n" forces Chrome to load web page without using of the cache.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.