electron publish.Class.HttpPublisher
Electron-Builder / electron-publish / HttpPublisher
Extends¶
Extended by¶
Constructors¶
new HttpPublisher()¶
protected
new HttpPublisher(context
,useSafeArtifactName
):HttpPublisher
Parameters¶
• context: PublishContext
• useSafeArtifactName: boolean
= false
Returns¶
Overrides¶
Properties¶
context¶
protected
readonly
context:PublishContext
Inherited from¶
Accessors¶
providerName¶
get
abstract
providerName():PublishProvider
Returns¶
Inherited from¶
Methods¶
createProgressBar()¶
protected
createProgressBar(fileName
,size
):null
|ProgressBar
Parameters¶
• fileName: string
• size: number
Returns¶
null
| ProgressBar
Inherited from¶
createReadStreamAndProgressBar()¶
protected
createReadStreamAndProgressBar(file
,fileStat
,progressBar
,reject
):ReadableStream
Parameters¶
• file: string
• fileStat: Stats
• progressBar: null
| ProgressBar
• reject
Returns¶
ReadableStream
Inherited from¶
Publisher
.createReadStreamAndProgressBar
doUpload()¶
abstract
protected
doUpload(fileName
,arch
,dataLength
,requestProcessor
,file
):Promise
<any
>
Parameters¶
• fileName: string
• arch: Arch
• dataLength: number
• requestProcessor
• file: string
Returns¶
Promise
<any
>
toString()¶
abstract
toString():string
Returns¶
string
Inherited from¶
upload()¶
upload(
task
):Promise
<any
>
Parameters¶
• task: UploadTask
Returns¶
Promise
<any
>