Platforms to show: All Mac Windows Linux Cross-Platform
Cocoa Networking
Cocoa classes for doing networking.
- Classes
- class NSCachedURLResponseMBS
- method Constructor(response as NSURLResponseMBS, data as MemoryBlock, userInfo as Dictionary = nil, storagePolicy as Integer = 0)
- method copy as NSCachedURLResponseMBS
- property Data as MemoryBlock
- property Handle as Integer
- property Response as NSURLResponseMBS
- property StoragePolicy as Integer
- property UserInfo as Dictionary
- class NSHTTPCookieMBS
- method Constructor(properties as dictionary)
- shared method cookiesWithResponseHeaderFields(headerFields as dictionary, URL as string) as NSHTTPCookieMBS()
- shared method cookieWithProperties(dic as dictionary) as NSHTTPCookieMBS
- shared method NSHTTPCookieComment as string
- shared method NSHTTPCookieCommentURL as string
- shared method NSHTTPCookieDiscard as string
- shared method NSHTTPCookieDomain as string
- shared method NSHTTPCookieExpires as string
- shared method NSHTTPCookieMaximumAge as string
- shared method NSHTTPCookieName as string
- shared method NSHTTPCookieOriginURL as string
- shared method NSHTTPCookiePath as string
- shared method NSHTTPCookiePort as string
- shared method NSHTTPCookieSecure as string
- shared method NSHTTPCookieValue as string
- shared method NSHTTPCookieVersion as string
- method portList as Integer()
- shared method requestHeaderFieldsWithCookies(cookies() as NSHTTPCookieMBS) as dictionary
- property comment as string
- property commentURL as string
- property domain as string
- property expiresDate as date
- property expiresDateTime as dateTime
- property Handle as Integer
- property isHTTPOnly as boolean
- property isSecure as boolean
- property isSessionOnly as boolean
- property name as string
- property path as string
- property properties as dictionary
- property value as string
- property version as Integer
- class NSHTTPCookieStorageMBS
- method Constructor
- method cookies as NSHTTPCookieMBS()
- method cookiesForURL(URL as string) as NSHTTPCookieMBS()
- method cookiesToArray(cookies() as NSHTTPCookieMBS) as Integer
- method deleteCookie(cookie as NSHTTPCookieMBS)
- shared method NSHTTPCookieManagerAcceptPolicyChangedNotification as string
- shared method NSHTTPCookieManagerCookiesChangedNotification as string
- method removeCookiesSinceDate(d as date)
- method removeCookiesSinceDate(d as dateTime)
- method setCookie(cookie as NSHTTPCookieMBS)
- method setCookies(cookies() as NSHTTPCookieMBS, URL as string, mainDocumentURL as string)
- shared method sharedHTTPCookieStorage as NSHTTPCookieStorageMBS
- property Handle as Integer
- property cookieAcceptPolicy as Integer
- class NSNetServiceBrowserMBS
- method Constructor
- method Destructor
- method searchForBrowsableDomains
- method searchForRegistrationDomains
- method searchForServicesOfType(serviceType as string, domainName as string = "")
- method stop
- property Handle as Integer
- property includesPeerToPeer as Boolean
- event DidFindDomain(domainName as String, moreComing as Boolean)
- event DidFindService(service as NSNetServiceMBS, moreComing as Boolean)
- event DidNotSearch(error as Dictionary)
- event DidRemoveDomain(domainName as String, moreComing as Boolean)
- event DidRemoveService(service as NSNetServiceMBS, moreComing as Boolean)
- event DidStopSearch
- event WillSearch
- class NSNetServiceMBS
- method addresses as String()
- method addressesIPv4 as String()
- method addressesIPv6 as String()
- method addressesRaw as MemoryBlock()
- method Constructor(Domain as String, Type as String, Name as String)
- method Constructor(Domain as String, Type as String, Name as String, Port as Integer)
- method Constructor(other as NSNetServiceMBS)
- shared method dataFromTXTRecordDictionary(data as Dictionary) as Memoryblock
- method Destructor
- shared method dictionaryFromTXTRecordData(data as Memoryblock) as Dictionary
- method getStreams(byref inputStream as NSInputStreamMBS, byref outputStream as NSOutputStreamMBS) as Boolean
- method isEqual(other as NSNetServiceMBS) as Boolean
- shared method NSNetServicesErrorCode as String
- shared method NSNetServicesErrorDomain as String
- method publish
- method publish(options as Integer)
- method resolve
- method resolve(timeout as Double)
- method setTXTRecordData(Data as MemoryBlock) as Boolean
- method startMonitoring
- method stop
- method stopMonitoring
- property Address as String
- property AddressIPv4 as String
- property AddressIPv6 as String
- property description as String
- property domain as String
- property Handle as Integer
- property hostName as String
- property includesPeerToPeer as Boolean
- property name as String
- property port as Integer
- property TXTRecordData as MemoryBlock
- property type as String
- event DidAcceptConnection(InputStream as NSInputStreamMBS, outputStream as NSOutputStreamMBS)
- event DidNotPublish(Error as Dictionary)
- event DidNotResolve(Error as Dictionary)
- event DidPublish
- event DidResolveAddress
- event DidStop
- event DidUpdateTXTRecordData(data as MemoryBlock)
- event WillPublish
- event WillResolve
- class NSURLAuthenticationChallengeMBS
- method cancelAuthenticationChallenge
- method Constructor
- method continueWithoutCredentialForAuthenticationChallenge
- method error as NSErrorMBS
- method failureResponse as NSURLResponseMBS
- method previousFailureCount as Integer
- method proposedCredential as NSURLCredentialMBS
- method protectionSpace as NSURLProtectionSpaceMBS
- method useCredential(credential as NSURLCredentialMBS)
- property Handle as Integer
- class NSURLCacheMBS
- method cachedResponseForRequest(request as NSURLRequestMBS) as NSCachedURLResponseMBS
- method Constructor(memoryCapacity as UInt64, diskCapacity as UInt64, diskPath as folderitem)
- method removeAllCachedResponses
- method removeCachedResponseForRequest(request as NSURLRequestMBS)
- method removeCachedResponsesSinceDate(d as date)
- method removeCachedResponsesSinceDate(d as dateTime)
- shared method setSharedURLCache(cache as NSURLCacheMBS)
- shared method sharedURLCache as NSURLCacheMBS
- method storeCachedResponse(cachedResponse as NSCachedURLResponseMBS, request as NSURLRequestMBS)
- property currentDiskUsage as UInt64
- property currentMemoryUsage as UInt64
- property diskCapacity as UInt64
- property Handle as Integer
- property memoryCapacity as UInt64
- class NSURLConnectionFilterMBS
- property Enabled as Boolean
- event FilterConnection(request as NSURLRequestMBS) as NSURLRequestMBS
- class NSURLCredentialMBS
- method Constructor
- method copy as NSURLCredentialMBS
- shared method credential(User as string, password as string, persistence as Integer = 0) as NSURLCredentialMBS
- shared method credentialWithPEM(Data as MemoryBlock, Password as String = "") as NSURLCredentialMBS
- shared method credentialWithPKCS12(Data as MemoryBlock, Password as String = "") as NSURLCredentialMBS
- shared method credentialWithTrustingServer(ProtectionSpace as NSURLProtectionSpaceMBS) as NSURLCredentialMBS
- property CertificateCount as Integer
- property Handle as Integer
- property HasIdentity as Boolean
- property hasPassword as Boolean
- property password as string
- property persistence as Integer
- property user as string
- class NSURLCredentialStorageMBS
- method Constructor
- method defaultCredentialForProtectionSpace(space as NSURLProtectionSpaceMBS) as NSURLCredentialMBS
- shared method sharedCredentialStorage as NSURLCredentialStorageMBS
- property Handle as Integer
- class NSURLDownloadMBS
- method cancel
- shared method canResumeDownloadDecodedWithEncodingMIMEType(MimeType as string) as boolean
- method Constructor(request as NSURLRequestMBS)
- method Constructor(resumeData as Memoryblock, path as folderitem)
- method Constructor(resumeData as Memoryblock, path as string)
- method request as NSURLRequestMBS
- method resumeData as Memoryblock
- method setDestination(path as folderitem, allowOverwrite as boolean)
- method setDestination(path as string, allowOverwrite as boolean)
- property Handle as Integer
- property deletesFileUponFailure as boolean
- event canAuthenticateAgainstProtectionSpace(protectionSpace as NSURLProtectionSpaceMBS) as boolean
- event decideDestinationWithSuggestedFilename(filename as string)
- event DidBegin
- event didCancelAuthenticationChallenge(challenge as NSURLAuthenticationChallengeMBS)
- event didCreateDestination(path as string, file as folderitem)
- event didFailWithError(error as NSErrorMBS)
- event DidFinish
- event didReceiveAuthenticationChallenge(challenge as NSURLAuthenticationChallengeMBS)
- event didReceiveDataOfLength(length as UInt64)
- event didReceiveResponse(response as NSURLResponseMBS)
- event shouldDecodeSourceDataOfMIMEType(encodingType as string) as boolean
- event shouldUseCredentialStorage as boolean
- event willResumeWithResponse(response as NSURLResponseMBS, startingByte as Int64)
- event willSendRequest(request as NSURLRequestMBS, redirectResponse as NSURLResponseMBS) as NSURLRequestMBS
- class NSURLMBS
- method checkResourceIsReachableAndReturnError as NSErrorMBS
- method Constructor(item as folderitem)
- method Constructor(scheme as string, host as string, path as string)
- method Constructor(url as string)
- method Constructor(url as string, baseURL as NSURLMBS)
- method copy as NSURLMBS
- shared method fileURLWithFileSystemRepresentation(path as string, isDirectory as boolean, relativeToURL as NSURLMBS) as NSURLMBS
- shared method fileURLWithPath(path as string) as NSURLMBS
- shared method fileURLWithPath(path as string, isDirectory as boolean) as NSURLMBS
- shared method fileURLWithPathComponents(components() as string) as NSURLMBS
- method getResourceValue(byref value as Variant, key as string, byref error as NSErrorMBS) as boolean
- method isEqual(other as NSURLMBS) as boolean
- method Items(byref error as NSErrorMBS, VisibleItemsOnly as boolean = false) as NSURLMBS()
- method Items(VisibleItemsOnly as boolean = false) as NSURLMBS()
- shared method mountedVolumeURLs(SkipHidden as boolean = true) as NSURLMBS()
- shared method NSThumbnail1024x1024SizeKey as string
- shared method NSURLAddedToDirectoryDateKey as string
- shared method NSURLAttributeModificationDateKey as string
- shared method NSURLContentAccessDateKey as string
- shared method NSURLContentModificationDateKey as string
- shared method NSURLCreationDateKey as string
- shared method NSURLCustomIconKey as string
- shared method NSURLDocumentIdentifierKey as string
- shared method NSURLEffectiveIconKey as string
- shared method NSURLFileAllocatedSizeKey as string
- shared method NSURLFileResourceIdentifierKey as string
- shared method NSURLFileResourceTypeBlockSpecial as string
- shared method NSURLFileResourceTypeCharacterSpecial as string
- shared method NSURLFileResourceTypeDirectory as string
- shared method NSURLFileResourceTypeKey as string
- shared method NSURLFileResourceTypeNamedPipe as string
- shared method NSURLFileResourceTypeRegular as string
- shared method NSURLFileResourceTypeSocket as string
- shared method NSURLFileResourceTypeSymbolicLink as string
- shared method NSURLFileResourceTypeUnknown as string
- shared method NSURLFileScheme as string
- shared method NSURLFileSecurityKey as string
- shared method NSURLFileSizeKey as string
- shared method NSURLGenerationIdentifierKey as string
- shared method NSURLHasHiddenExtensionKey as string
- shared method NSURLIsAliasFileKey as string
- shared method NSURLIsDirectoryKey as string
- shared method NSURLIsExcludedFromBackupKey as string
- shared method NSURLIsExecutableKey as string
- shared method NSURLIsHiddenKey as string
- shared method NSURLIsMountTriggerKey as string
- shared method NSURLIsPackageKey as string
- shared method NSURLIsReadableKey as string
- shared method NSURLIsRegularFileKey as string
- shared method NSURLIsSymbolicLinkKey as string
- shared method NSURLIsSystemImmutableKey as string
- shared method NSURLIsUbiquitousItemKey as string
- shared method NSURLIsUserImmutableKey as string
- shared method NSURLIsVolumeKey as string
- shared method NSURLIsWritableKey as string
- shared method NSURLKeysOfUnsetValuesKey as string
- shared method NSURLLabelColorKey as string
- shared method NSURLLabelNumberKey as string
- shared method NSURLLinkCountKey as string
- shared method NSURLLocalizedLabelKey as string
- shared method NSURLLocalizedNameKey as string
- shared method NSURLLocalizedTypeDescriptionKey as string
- shared method NSURLNameKey as string
- shared method NSURLParentDirectoryURLKey as string
- shared method NSURLPathKey as string
- shared method NSURLPreferredIOBlockSizeKey as string
- shared method NSURLQuarantinePropertiesKey as string
- shared method NSURLTagNamesKey as string
- shared method NSURLThumbnailDictionaryKey as string
- shared method NSURLThumbnailKey as string
- shared method NSURLTotalFileAllocatedSizeKey as string
- shared method NSURLTotalFileSizeKey as string
- shared method NSURLTypeIdentifierKey as string
- shared method NSURLUbiquitousItemContainerDisplayNameKey as string
- shared method NSURLUbiquitousItemDownloadingErrorKey as string
- shared method NSURLUbiquitousItemDownloadingStatusCurrent as string
- shared method NSURLUbiquitousItemDownloadingStatusDownloaded as string
- shared method NSURLUbiquitousItemDownloadingStatusKey as string
- shared method NSURLUbiquitousItemDownloadingStatusNotDownloaded as string
- shared method NSURLUbiquitousItemDownloadRequestedKey as string
- shared method NSURLUbiquitousItemHasUnresolvedConflictsKey as string
- shared method NSURLUbiquitousItemIsDownloadedKey as string
- shared method NSURLUbiquitousItemIsDownloadingKey as string
- shared method NSURLUbiquitousItemIsExcludedFromSyncKey as string
- shared method NSURLUbiquitousItemIsSharedKey as string
- shared method NSURLUbiquitousItemIsUploadedKey as string
- shared method NSURLUbiquitousItemIsUploadingKey as string
- shared method NSURLUbiquitousItemPercentDownloadedKey as string
- shared method NSURLUbiquitousItemPercentUploadedKey as string
- shared method NSURLUbiquitousItemUploadingErrorKey as string
- shared method NSURLUbiquitousSharedItemCurrentUserPermissionsKey as string
- shared method NSURLUbiquitousSharedItemCurrentUserRoleKey as string
- shared method NSURLUbiquitousSharedItemMostRecentEditorNameComponentsKey as string
- shared method NSURLUbiquitousSharedItemOwnerNameComponentsKey as string
- shared method NSURLUbiquitousSharedItemPermissionsReadOnly as string
- shared method NSURLUbiquitousSharedItemPermissionsReadWrite as string
- shared method NSURLUbiquitousSharedItemRoleOwner as string
- shared method NSURLUbiquitousSharedItemRoleParticipant as string
- shared method NSURLVolumeAvailableCapacityForImportantUsageKey as string
- shared method NSURLVolumeAvailableCapacityForOpportunisticUsageKey as string
- shared method NSURLVolumeAvailableCapacityKey as string
- shared method NSURLVolumeCreationDateKey as string
- shared method NSURLVolumeIdentifierKey as string
- shared method NSURLVolumeIsAutomountedKey as string
- shared method NSURLVolumeIsBrowsableKey as string
- shared method NSURLVolumeIsEjectableKey as string
- shared method NSURLVolumeIsEncryptedKey as string
- shared method NSURLVolumeIsInternalKey as string
- shared method NSURLVolumeIsJournalingKey as string
- shared method NSURLVolumeIsLocalKey as string
- shared method NSURLVolumeIsReadOnlyKey as string
- shared method NSURLVolumeIsRemovableKey as string
- shared method NSURLVolumeIsRootFileSystemKey as string
- shared method NSURLVolumeLocalizedFormatDescriptionKey as string
- shared method NSURLVolumeLocalizedNameKey as string
- shared method NSURLVolumeMaximumFileSizeKey as string
- shared method NSURLVolumeNameKey as string
- shared method NSURLVolumeResourceCountKey as string
- shared method NSURLVolumeSupportsAccessPermissionsKey as string
- shared method NSURLVolumeSupportsAdvisoryFileLockingKey as string
- shared method NSURLVolumeSupportsCasePreservedNamesKey as string
- shared method NSURLVolumeSupportsCaseSensitiveNamesKey as string
- shared method NSURLVolumeSupportsCompressionKey as string
- shared method NSURLVolumeSupportsExclusiveRenamingKey as string
- shared method NSURLVolumeSupportsExtendedSecurityKey as string
- shared method NSURLVolumeSupportsFileCloningKey as string
- shared method NSURLVolumeSupportsFileProtectionKey as string
- shared method NSURLVolumeSupportsHardLinksKey as string
- shared method NSURLVolumeSupportsImmutableFilesKey as string
- shared method NSURLVolumeSupportsJournalingKey as string
- shared method NSURLVolumeSupportsPersistentIDsKey as string
- shared method NSURLVolumeSupportsRenamingKey as string
- shared method NSURLVolumeSupportsRootDirectoryDatesKey as string
- shared method NSURLVolumeSupportsSparseFilesKey as string
- shared method NSURLVolumeSupportsSwapRenamingKey as string
- shared method NSURLVolumeSupportsSymbolicLinksKey as string
- shared method NSURLVolumeSupportsVolumeSizesKey as string
- shared method NSURLVolumeSupportsZeroRunsKey as string
- shared method NSURLVolumeTotalCapacityKey as string
- shared method NSURLVolumeURLForRemountingKey as string
- shared method NSURLVolumeURLKey as string
- shared method NSURLVolumeUUIDStringKey as string
- method pathComponents as string()
- method removeAllCachedResourceValues
- method removeCachedResourceValueForKey(key as string)
- method resourceValuesForKeys(keys() as string, byref error as NSErrorMBS) as Dictionary
- method resourceValuesForKeys(keys() as string, targetDelegate as ResourceValuesForKeysDelegateMBS, tag as Variant = nil, PrecacheIcons as boolean = false)
- method setResourceValue(value as Variant, key as string, byref error as NSErrorMBS) as boolean
- method setResourceValues(keyedValues as Dictionary, byref error as NSErrorMBS) as boolean
- method setTemporaryResourceValue(value as Variant, key as string)
- method startAccessingSecurityScopedResource as boolean
- method stopAccessingSecurityScopedResource
- method TagNames as string()
- method URLByAppendingPathComponent(pathComponent as string) as NSURLMBS
- method URLByAppendingPathComponent(pathComponent as string, isDirectory as boolean) as NSURLMBS
- method URLByAppendingPathExtension(PathExtension as string) as NSURLMBS
- method URLByDeletingLastPathComponent as NSURLMBS
- method URLByDeletingPathExtension as NSURLMBS
- method URLByResolvingSymlinksInPath as NSURLMBS
- method URLByStandardizingPath as NSURLMBS
- shared method URLsResourceValuesForKeys(URLs() as NSURLMBS, keys() as string, targetDelegate as URLsResourceValuesForKeysDelegateMBS, tag as Variant = nil, PrecacheIcons as boolean = false)
- shared method URLWithHandle(Handle as Integer) as NSURLMBS
- shared method URLWithItem(Item as FolderItem) as NSURLMBS
- shared method URLWithString(URL as string) as NSURLMBS
- shared method URLWithString(URL as string, baseURL as NSURLMBS) as NSURLMBS
- property absoluteString as String
- property absoluteURL as NSURLMBS
- property AddedToDirectoryDate as Date
- property AddedToDirectoryDateTime as DateTime
- property AttributeModificationDate as Date
- property AttributeModificationDateTime as DateTime
- property baseURL as NSURLMBS
- property ContentAccessDate as Date
- property ContentAccessDateTime as DateTime
- property ContentModificationDate as Date
- property ContentModificationDateTime as DateTime
- property CreationDate as Date
- property CreationDateTime as DateTime
- property DocumentIdentifier as String
- property EffectiveIcon as Variant
- property filePathURL as NSURLMBS
- property fileReferenceURL as NSURLMBS
- property FileResourceIdentifier as String
- property FileResourceType as String
- property fileSystemRepresentation as String
- property fragment as String
- property GenerationIdentifier as String
- property Handle as Integer
- property HasHiddenExtension as Boolean
- property host as String
- property IsAlias as Boolean
- property IsDirectory as Boolean
- property IsExcludedFromBackup as Boolean
- property IsExecutable as Boolean
- property isFileReferenceURL as Boolean
- property isFileURL as Boolean
- property IsHidden as Boolean
- property IsMountTrigger as Boolean
- property IsPackage as Boolean
- property IsReadable as Boolean
- property IsRegularFile as Boolean
- property IsSymbolicLink as Boolean
- property IsSystemImmutable as Boolean
- property IsUbiquitousItem as Boolean
- property IsUserImmutable as Boolean
- property IsVolume as Boolean
- property IsWritable as Boolean
- property Item as FolderItem
- property LabelColor as Variant
- property LabelNumber as Integer
- property lastPathComponent as String
- property LinkCount as Integer
- property LocalizedLabel as String
- property LocalizedName as String
- property LocalizedTypeDescription as String
- property Name as String
- property parameterString as String
- property ParentDirectoryURL as NSURLMBS
- property password as String
- property path as String
- property pathExtension as String
- property port as Integer
- property PreferredIOBlockSize as Integer
- property QuarantineProperties as Dictionary
- property query as String
- property relativePath as String
- property relativeString as String
- property resourceSpecifier as String
- property scheme as String
- property standardizedURL as NSURLMBS
- property TypeIdentifier as String
- property UbiquitousItemContainerDisplayName as String
- property UbiquitousItemDownloadingError as NSErrorMBS
- property UbiquitousItemDownloadingStatus as String
- property UbiquitousItemDownloadRequested as Boolean
- property UbiquitousItemHasUnresolvedConflicts as Boolean
- property UbiquitousItemIsDownloaded as Boolean
- property UbiquitousItemIsDownloading as Boolean
- property UbiquitousItemIsExcludedFromSync as Boolean
- property UbiquitousItemIsShared as Boolean
- property UbiquitousItemIsUploaded as Boolean
- property UbiquitousItemIsUploading as Boolean
- property UbiquitousItemUploadingError as NSErrorMBS
- property user as String
- property VolumeIdentifier as String
- property VolumeURL as NSURLMBS
- delegate ResourceValuesForKeysDelegateMBS(URL as NSURLMBS, keys() as String, Values as Dictionary, Error as NSErrorMBS, tag as variant)
- delegate URLsResourceValuesForKeysDelegateMBS(URLs() as NSURLMBS, keys() as String, Values() as Dictionary, Errors() as NSErrorMBS, tag as variant)
- class NSURLProtectionSpaceMBS
- method authenticationMethod as string
- method Constructor
- method host as string
- method isProxy as boolean
- shared method NSURLAuthenticationMethodClientCertificate as String
- shared method NSURLAuthenticationMethodDefault as String
- shared method NSURLAuthenticationMethodHTMLForm as String
- shared method NSURLAuthenticationMethodHTTPBasic as String
- shared method NSURLAuthenticationMethodHTTPDigest as String
- shared method NSURLAuthenticationMethodNegotiate as String
- shared method NSURLAuthenticationMethodNTLM as String
- shared method NSURLAuthenticationMethodServerTrust as String
- shared method NSURLProtectionSpaceFTP as String
- shared method NSURLProtectionSpaceFTPProxy as String
- shared method NSURLProtectionSpaceHTTP as String
- shared method NSURLProtectionSpaceHTTPProxy as String
- shared method NSURLProtectionSpaceHTTPS as String
- shared method NSURLProtectionSpaceHTTPSProxy as String
- shared method NSURLProtectionSpaceSOCKSProxy as String
- method port as Integer
- method protocol as string
- method proxyType as string
- method realm as string
- method receivesCredentialSecurely as boolean
- property Handle as Integer
- class NSURLRequestCertificateFilterMBS
- event allowsAnyHTTPSCertificateForHost(host as string) as boolean
- class NSURLRequestMBS
- method allHTTPHeaderFields as Dictionary
- method Constructor(url as string)
- method Constructor(url as string, cachePolicy as Integer, timeoutInterval as Double)
- method copy as NSURLRequestMBS
- method mutableCopy as NSMutableURLRequestMBS
- shared method requestWithHandle(Handle as Integer) as NSURLRequestMBS
- shared method requestWithURL(url as string) as NSURLRequestMBS
- shared method requestWithURL(url as string, cachePolicy as Integer, timeoutInterval as Double) as NSURLRequestMBS
- method valueForHTTPHeaderField(field as string) as string
- property attribution as Integer
- property cachePolicy as Integer
- property Handle as Integer
- property HTTPBody as memoryblock
- property HTTPMethod as string
- property HTTPShouldHandleCookies as boolean
- property HTTPShouldUsePipelining as boolean
- property isHTTPRequest as boolean
- property mainDocumentURL as string
- property networkServiceType as Integer
- property timeoutInterval as Double
- property URL as string
- class NSURLResponseMBS
- method allHeaderFields as Dictionary
- method Constructor(URL as string, MimeType as string, expectedContentLength as Integer, textEncodingName as string)
- method copy as NSURLResponseMBS
- method expectedContentLength as int64
- method isHTTPResponse as boolean
- shared method localizedStringForStatusCode(statusCode as Integer) as string
- method MIMEType as string
- method statusCode as Integer
- method suggestedFilename as string
- method textEncodingName as string
- method URL as string
- property Handle as Integer
- class NSURLSessionConfigurationMBS
- shared method available as Boolean
- shared method backgroundSessionConfiguration(identifier as String) as NSURLSessionConfigurationMBS
- method Constructor
- method copy as NSURLSessionConfigurationMBS
- shared method defaultSessionConfiguration as NSURLSessionConfigurationMBS
- shared method ephemeralSessionConfiguration as NSURLSessionConfigurationMBS
- property allowsCellularAccess as Boolean
- property allowsConstrainedNetworkAccess as Boolean
- property allowsExpensiveNetworkAccess as Boolean
- property connectionProxyDictionary as Dictionary
- property discretionary as Boolean
- property Handle as Integer
- property HTTPAdditionalHeaders as Dictionary
- property HTTPCookieAcceptPolicy as Integer
- property HTTPCookieStorage as NSHTTPCookieStorageMBS
- property HTTPMaximumConnectionsPerHost as Integer
- property HTTPShouldSetCookies as Boolean
- property HTTPShouldUsePipelining as Boolean
- property identifier as String
- property NetworkServiceType as Integer
- property RequestCachePolicy as Integer
- property sharedContainerIdentifier as String
- property shouldUseExtendedBackgroundIdleMode as Boolean
- property timeoutIntervalForRequest as Double
- property timeoutIntervalForResource as Double
- property URLCache as NSURLCacheMBS
- property URLCredentialStorage as NSURLCredentialStorageMBS
- property waitsForConnectivity as Boolean
- class NSURLSessionDataTaskMBS
- method Constructor
- class NSURLSessionDownloadTaskMBS
- method cancelByProducingResumeData(Handler as ProducingResumeDataCompletedMBS, tag as variant = nil)
- method Constructor
- shared method NSURLSessionDownloadTaskResumeData as string
- delegate ProducingResumeDataCompletedMBS(downloadTask as NSURLSessionDownloadTaskMBS, resumeData as MemoryBlock, tag as variant)
- class NSURLSessionMBS
- shared method available as Boolean
- method Constructor
- method Constructor(configuration as NSURLSessionConfigurationMBS)
- method dataTaskWithRequest(request as NSURLRequestMBS) as NSURLSessionDataTaskMBS
- method dataTaskWithRequest(request as NSURLRequestMBS, handler as NSURLSessionDataTaskCompletedMBS, tag as Variant = nil) as NSURLSessionDataTaskMBS
- method dataTaskWithURL(URL as String) as NSURLSessionDataTaskMBS
- method dataTaskWithURL(URL as String, handler as NSURLSessionDataTaskCompletedMBS, tag as Variant = nil) as NSURLSessionDataTaskMBS
- method downloadTaskWithRequest(request as NSURLRequestMBS) as NSURLSessionDownloadTaskMBS
- method downloadTaskWithRequest(request as NSURLRequestMBS, handler as NSURLSessionUploadTaskCompletedMBS, tag as Variant = nil) as NSURLSessionDataTaskMBS
- method downloadTaskWithResumeData(resumeData as MemoryBlock) as NSURLSessionDownloadTaskMBS
- method downloadTaskWithResumeData(resumeData as MemoryBlock, handler as NSURLSessionUploadTaskCompletedMBS, tag as Variant = nil) as NSURLSessionDataTaskMBS
- method downloadTaskWithURL(URL as String) as NSURLSessionDownloadTaskMBS
- method downloadTaskWithURL(URL as String, handler as NSURLSessionUploadTaskCompletedMBS, tag as Variant = nil) as NSURLSessionDataTaskMBS
- method finishTasksAndInvalidate
- method flush(Handler as NSURLSessionFlushCompletedMBS = nil, tag as variant = nil)
- method invalidateAndCancel
- method reset(Handler as NSURLSessionResetCompletedMBS = nil, tag as variant = nil)
- shared method sharedSession as NSURLSessionMBS
- method streamTaskWithHostName(hostname as String, Port as Integer) as NSURLSessionStreamTaskMBS
- method Tasks as NSURLSessionTaskMBS()
- method Tasks(Handler as NSURLSessionTasksCompletedMBS, tag as variant = nil)
- method uploadTaskWithRequest(request as NSURLRequestMBS, data as MemoryBlock) as NSURLSessionUploadTaskMBS
- method uploadTaskWithRequest(request as NSURLRequestMBS, data as MemoryBlock, handler as NSURLSessionUploadTaskCompletedMBS, tag as Variant = nil) as NSURLSessionDataTaskMBS
- method uploadTaskWithRequest(request as NSURLRequestMBS, file as folderItem) as NSURLSessionUploadTaskMBS
- method uploadTaskWithRequest(request as NSURLRequestMBS, file as FolderItem, handler as NSURLSessionUploadTaskCompletedMBS, tag as Variant = nil) as NSURLSessionDataTaskMBS
- method uploadTaskWithStreamedRequest(request as NSURLRequestMBS) as NSURLSessionUploadTaskMBS
- method webSocketTaskWithRequest(request as NSURLRequestMBS) as NSURLSessionWebSocketTaskMBS
- method webSocketTaskWithURL(URL as String) as NSURLSessionWebSocketTaskMBS
- method webSocketTaskWithURL(URL as String, Protocols() as String) as NSURLSessionWebSocketTaskMBS
- property configuration as NSURLSessionConfigurationMBS
- property Handle as Integer
- property sessionDescription as String
- event dataTaskDidBecomeDownloadTask(dataTask as NSURLSessionDataTaskMBS, downloadTask as NSURLSessionDownloadTaskMBS)
- event dataTaskDidBecomeStreamTask(dataTask as NSURLSessionDataTaskMBS, downloadTask as NSURLSessionStreamTaskMBS)
- event dataTaskDidReceiveData(dataTask as NSURLSessionDataTaskMBS, data as MemoryBlock)
- event dataTaskDidReceiveResponse(dataTask as NSURLSessionDataTaskMBS, response as NSURLResponseMBS) as Integer
- event dataTaskWillCacheResponse(dataTask as NSURLSessionDataTaskMBS, proposedResponse as NSCachedURLResponseMBS) as NSCachedURLResponseMBS
- event didBecomeInvalid(error as NSErrorMBS)
- event didReceiveChallenge(challenge as NSURLAuthenticationChallengeMBS, byref disposition as Integer, byref credential as NSURLCredentialMBS)
- event downloadTaskDidFinishDownloadingToURL(downloadTask as NSURLSessionDownloadTaskMBS, location as String, file as FolderItem)
- event downloadTaskDidResumeAtOffset(downloadTask as NSURLSessionDownloadTaskMBS, fileOffset as Int64, expectedTotalBytes as Int64)
- event downloadTaskDidWriteData(downloadTask as NSURLSessionDownloadTaskMBS, bytesWritten as Int64, totalBytesWritten as Int64, totalBytesExpectedToWrite as Int64)
- event streamTaskBetterRouteDiscoveredForStreamTask(streamTask as NSURLSessionStreamTaskMBS)
- event streamTaskDidBecomeInputStream(streamTask as NSURLSessionStreamTaskMBS, inputStream as NSInputStreamMBS, outputStream as NSOutputStreamMBS)
- event streamTaskReadClosedForStreamTask(streamTask as NSURLSessionStreamTaskMBS)
- event streamTaskWriteClosedForStreamTask(streamTask as NSURLSessionStreamTaskMBS)
- event taskDidCompleteWithError(task as NSURLSessionTaskMBS, error as NSErrorMBS)
- event taskDidFinishCollectingMetrics(task as NSURLSessionTaskMBS, metrics as NSURLSessionTaskMetricsMBS)
- event taskDidSendBodyData(task as NSURLSessionTaskMBS, bytesSent as Int64, totalBytesSent as Int64, totalBytesExpectedToSend as Integer)
- event taskIsWaitingForConnectivity(task as NSURLSessionTaskMBS)
- event taskWillPerformHTTPRedirection(task as NSURLSessionTaskMBS, response as NSURLResponseMBS, request as NSURLRequestMBS) as NSURLRequestMBS
- event webSocketTaskDidCloseWithCode(webSocketTask as NSURLSessionWebSocketTaskMBS, closeCode as Integer, reason as MemoryBlock)
- event webSocketTaskDidOpenWithProtocol(webSocketTask as NSURLSessionWebSocketTaskMBS, protocol as String)
- delegate NSURLSessionAllTasksCompletedMBS(tasks() as NSURLSessionTaskMBS, tag as variant)
- delegate NSURLSessionDataTaskCompletedMBS(data as MemoryBlock, response as NSURLResponseMBS, error as NSErrorMBS, tag as variant)
- delegate NSURLSessionDownloadTaskCompletedMBS(location as String, file as FolderItem, response as NSURLResponseMBS, error as NSErrorMBS, tag as variant)
- delegate NSURLSessionFlushCompletedMBS(tag as variant)
- delegate NSURLSessionResetCompletedMBS(tag as variant)
- delegate NSURLSessionTasksCompletedMBS(dataTasks() as NSURLSessionDataTaskMBS, uploadTasks() as NSURLSessionUploadTaskMBS, downloadTasks() as NSURLSessionDownloadTaskMBS, tag as variant)
- delegate NSURLSessionUploadTaskCompletedMBS(data as MemoryBlock, response as NSURLResponseMBS, error as NSErrorMBS, tag as variant)
- class NSURLSessionStreamTaskMBS
- method captureStreams
- method closeRead
- method closeWrite
- method Constructor
- method readData(minBytes as Integer, maxBytes as Integer, timeout as Double, Handler as NSURLSessionStreamTaskReadDataCompletedMBS, tag as variant = nil)
- method startSecureConnection
- method writeData(data as MemoryBlock, timeout as Double, Handler as NSURLSessionStreamTaskWriteDataCompletedMBS, tag as variant = nil)
- delegate NSURLSessionStreamTaskReadDataCompletedMBS(streamTask as NSURLSessionStreamTaskMBS, data as MemoryBlock, atEOF as Boolean, error as NSErrorMBS, tag as variant)
- delegate NSURLSessionStreamTaskWriteDataCompletedMBS(streamTask as NSURLSessionStreamTaskMBS, error as NSErrorMBS, tag as variant)
- class NSURLSessionTaskMBS
- shared method available as Boolean
- method Cancel
- method Constructor
- method copy as NSURLSessionTaskMBS
- shared method PriorityDefault as Single
- shared method PriorityHigh as Single
- shared method PriorityLow as Single
- method resume
- method suspend
- property countOfBytesClientExpectsToReceive as Int64
- property countOfBytesClientExpectsToSend as Int64
- property countOfBytesExpectedToReceive as Int64
- property countOfBytesExpectedToSend as Int64
- property countOfBytesReceived as Int64
- property countOfBytesSent as Int64
- property currentRequest as NSURLRequestMBS
- property earliestBeginDate as Date
- property earliestBeginDateTime as DateTime
- property error as NSErrorMBS
- property Handle as Integer
- property originalRequest as NSURLRequestMBS
- property Priority as Single
- property response as NSURLResponseMBS
- property state as Integer
- property taskDescription as String
- property taskIdentifier as UInt64
- class NSURLSessionTaskMetricsMBS
- shared method available as Boolean
- method Constructor
- method transactionMetrics as NSURLSessionTaskTransactionMetricsMBS()
- property Handle as Integer
- property redirectCount as Integer
- property taskInterval as NSDateIntervalMBS
- class NSURLSessionTaskTransactionMetricsMBS
- shared method available as Boolean
- method Constructor
- property Cellular as Boolean
- property connectEndDate as Date
- property connectEndDateTime as DateTime
- property connectStartDate as Date
- property connectStartDateTime as DateTime
- property Constrained as Boolean
- property countOfRequestBodyBytesBeforeEncoding as Int64
- property countOfRequestBodyBytesSent as Int64
- property countOfRequestHeaderBytesSent as Int64
- property countOfResponseBodyBytesAfterDecoding as Int64
- property countOfResponseBodyBytesReceived as Int64
- property countOfResponseHeaderBytesReceived as Int64
- property domainLookupEndDate as Date
- property domainLookupEndDateTime as DateTime
- property domainLookupStartDate as Date
- property domainLookupStartDateTime as DateTime
- property Expensive as Boolean
- property fetchStartDate as Date
- property fetchStartDateTime as DateTime
- property Handle as Integer
- property localAddress as String
- property localPort as Integer
- property Multipath as Boolean
- property negotiatedTLSCipherSuite as Integer
- property negotiatedTLSProtocolVersion as Integer
- property networkProtocolName as String
- property ProxyConnection as Boolean
- property remoteAddress as String
- property remotePort as Integer
- property request as NSURLRequestMBS
- property requestEndDate as Date
- property requestEndDateTime as DateTime
- property requestStartDate as Date
- property requestStartDateTime as DateTime
- property resourceFetchType as Integer
- property response as NSURLResponseMBS
- property responseEndDate as Date
- property responseEndDateTime as DateTime
- property responseStartDate as Date
- property responseStartDateTime as DateTime
- property ReusedConnection as Boolean
- property secureConnectionEndDate as Date
- property secureConnectionEndDateTime as DateTime
- property secureConnectionStartDate as Date
- property secureConnectionStartDateTime as DateTime
- class NSURLSessionUploadTaskMBS
- method Constructor
- class NSURLSessionWebSocketMessageMBS
- shared method available as Boolean
- method Constructor(data as MemoryBlock)
- method Constructor(text as string)
- property data as MemoryBlock
- property Handle as Integer
- property string as String
- property type as Integer
- class NSURLSessionWebSocketTaskMBS
- method cancel(closeCode as Integer, reason as MemoryBlock)
- method Constructor
- method receiveMessage(Handler as NSURLSessionWebSocketTaskReceiveMessageCompletedMBS, tag as variant = nil)
- method sendMessage(message as NSURLSessionWebSocketMessageMBS, Handler as NSURLSessionWebSocketTaskSendMessageCompletedMBS, tag as variant = nil)
- method sendPing(Handler as NSURLSessionWebSocketTaskSendPingWithPongReceivedMBS, tag as variant = nil)
- property closeCode as Integer
- property closeReason as MemoryBlock
- property maximumMessageSize as Integer
- delegate NSURLSessionWebSocketTaskReceiveMessageCompletedMBS(webSocketTask as NSURLSessionWebSocketTaskMBS, message as NSURLSessionWebSocketMessageMBS, error as NSErrorMBS, tag as variant)
- delegate NSURLSessionWebSocketTaskSendMessageCompletedMBS(webSocketTask as NSURLSessionWebSocketTaskMBS, error as NSErrorMBS, tag as variant)
- delegate NSURLSessionWebSocketTaskSendPingWithPongReceivedMBS(webSocketTask as NSURLSessionWebSocketTaskMBS, error as NSErrorMBS, tag as variant)
- class NSCachedURLResponseMBS
- Blog Entries
Release notes
- Version 23.0
- Changed EffectiveIcon and LabelColor in NSURLMBS to return variant to reduce dependencies.
- Version 22.3
- Fixed NSNetServiceMBS constructor to accept empty text.
- Fixed problem with Reset method in NSURLSessionMBS crashing if no handler is passed.
- Version 22.2
- Changed NSURLSessionTaskMBS.taskDescription property to be settable.
- Version 22.1
- Added UbiquitousItemIsExcludedFromSync, UbiquitousItemUploadingError, UbiquitousItemIsUploading, UbiquitousItemIsUploaded, UbiquitousItemIsShared, UbiquitousItemIsDownloading, UbiquitousItemIsDownloaded, UbiquitousItemHasUnresolvedConflicts, UbiquitousItemDownloadRequested, UbiquitousItemDownloadingStatus, UbiquitousItemDownloadingError, UbiquitousItemContainerDisplayName and IsUbiquitousItem properties to NSURLMBS class.
- Version 21.5
- Added attribution property for NSURLRequestMBS class.
- Added NSURLUbiquitousItemIsExcludedFromSyncKey to NSURLMBS class.
- Upgraded NSURLRequestMBS to show properties in debugger.
- Version 21.2
- Added more key getters for NSURLMBS class.
- Version 21.1
- Added NSNetServiceMBS and NSNetServiceBrowserMBS classes for macOS and iOS.
- Version 21.0
- Fixed AllCookies function in NSHTTPCookieMBS to not freeze app.
- Version 20.5
- Added IsAliasFile to NSURLMBS and CFURLMBS classes.
- Changed properties in NSDatePickerMBS and NSHTTPCookieMBS classes to be debugger visible.
The items on this page are in the following plugins: MBS MacBase Plugin, MBS MacCocoa Plugin, MBS MacControls Plugin, MBS MacFrameworks Plugin.