Skip to content

Instance Method

header(forRequest:)

Creates the header string depending on the case of self.
func header(forRequest req: Request) -> String

Return Value

Header string to be used in response for allowed origin.